JavaScript isNaN() Method Tutorial

JavaScript provides the isNaN() method in order to check whether a given value or variable is a number or not. NaN is the short form the “Not a Number” and checks for negative cases. If the given value or variable is not a number it will return true, if a number it will return false. … Read more