FrontendDeveloper.in

JavaScript question detail

What is isNaN

The isNaN() function is used to determine whether a value is an illegal number (Not-a-Number) or not. i.e, This function returns true if the value equates to NaN. Otherwise it returns false.

isNaN("Hello"); //true
isNaN("100"); //false
Back to all JavaScript questions
Get LinkedIn Premium at Rs 399