NaN is Not a Number , which is used for identifying that a variable is a number or not ?
This function returns true if the value is NaN, and false if not.
The isNaN() function determines whether a value is an illegal number (Not-a-Number). This function returns true if the value is NaN, and false if not. E.g.:- var a = isNaN(123) Out:-false and var e = isNaN("Hello") Out:- true