• RSS Unknown Feed

    • An error has occurred; the feed is probably down. Try again later.
  • Meta

JavaScript Is Not a Number Function: isNaN()

The JavaScript isNaN function accepts one argument and returns true if that argument is not a number value and false if the argument is a number value. For example:

document.write(isNaN(10))//Is a number, returns false
document.write(isNaN('a'))//Is not a number, returns true

Leave a comment