Код: Выделить всё
< /code>
и мой код Javascript: < /p>
let num1 = prompt("Enter the first number !");
let num2 = prompt("Enter the second number !");
document.getElementById("num1-el").textContent = num1;
document.getElementById("num2-el").textContent = num2;
console.log(num1);
console.log(typeof num1);
console.log(num2);
console.log(typeof num1);
Изображение консоли.>
Подробнее здесь: https://stackoverflow.com/questions/796 ... not-number
Мобильная версия