is nan in javascript condition 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");
}