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

isNaN() only exists because the real way to detect NaN is so counter intuitive. Lots of people will see "if (x !== x)" and will try to "optimize".


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

Search: