Hacker News new | ask | show | jobs
by halbermensch 5016 days ago
Or not goofy, if you think of 'number' as an enum constant denoting that variable's type, rather than its value.

In this context, 'NaN' just happens to be another admissible value within the space of "number".