Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var userAge = parseInt(prompt("I am the message! Number me: "), 10);
- if(userAge == isNaN()) {
- console.log("Not a number!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement