isNANin js code example
Example: isnan in javascript
var s = userInput[0];
if(isNaN(s) !== true)
{
console.log("yes");
}
else
{
console.log("no");
}
var s = userInput[0];
if(isNaN(s) !== true)
{
console.log("yes");
}
else
{
console.log("no");
}