JavaScript Associate — Easy
Key points
- Number.isNaN() performs a strict check for NaN
- Global isNaN() function involves implicit type conversion
- Type coercion affects the outcome of NaN checks
- Number.isNaN() is a more precise method
Ready to go further?
Related questions
