isNaNintermediate// Check for NaN without coercion
Number.isNaN(NaN) // β true
Number.isNaN('NaN') // β false (no coercion)
Number.isNaN(42) // β falseUse Number.isNaN() instead of the global isNaN() to check for NaN without coercing the argument first.
isNaN('hello') returns true (coerces string to NaN).
Number.isNaN('hello') returns false (no coercion).