0
IF Syntax in JS
Please, make a script on JS with IF...ELSE syntax.
1 Resposta
+ 1
var int = prompt("Enter a number.");
if (int < 18) {
document.write("Number too small");
} else {
document.write("Welcome!");
}
Please, make a script on JS with IF...ELSE syntax.