Skip to main content
InterviewHubPRO
Section Overview
Q84

Question 84 of 536

Part 2: Promises, Callbacks, Async & Strict Mode (54 - 103)

16%
JavaScript & V8 Internals (536 Qs)•Part 2: Promises, Callbacks, Async & Strict Mode (54 - 103)

What is isNaN

junior LevelMost AskedCode ExampleAsync & Promises

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.

javascript
isNaN("Hello"); //true
isNaN("100"); //false