JavaScript isNaN() function
The isNan() function returns true if the variable value is not a number otherwise returns false. It internally checks whether the specified value is an illegal number or not. Syntax: isNaN(value) Parameters: value: It represents the value to be checked for not a number. Returns: It returns true if the value is an illegal number … Read more