Hacker News new | ask | show | jobs
by Gaelan 3246 days ago

    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.