SyntaxFix
Write A Post
Hire A Developer
Questions
var val = ... //the value you want to check_x000D_ if(Number.isNaN(Number(val))){_x000D_ console.log("This is NOT a number!");_x000D_ }else{_x000D_ console.log("This IS a number!");_x000D_ }