Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's not a JavaScript feature; it's part of the IEEE 754 standard for floating point numbers. NaNs are unordered. Every language that provides standard floating point numbers does it that way.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: