isNaNintermediateisNaN('hello') // β true (Number('hello') β NaN)
Number.isNaN('hello') // β false (no coercion)The global isNaN() coerces strings to numbers first β use Number.isNaN() to skip coercion.
isNaN('hello') coerces the string to NaN and returns true.
Challenge: Verify the coercion.