Hacker News new | past | comments | ask | show | jobs | submit login

    function isNaN(x) { return x !== x }
It’s a native browser function so it may not actually be done that way, but that’s one way you could do it.



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

Search: