If you type in var n 121, and in var s 2 or the numbers 3, 4, 5, 6, 7, 8, 9, then document.write
not executed, but, for example, enter in var s 1, then document.write
will be executed . What is the reason, tell me?
var n = prompt("Введите число", ""); var s = prompt("Угадайте число", ""); if (n > s) document.write("n больше s");