How do you check that a number is NaN in JavaScript?
<p>I’ve only been trying it in Firefox’s JavaScript console, but neither of the following statements return true:</p>

<pre><code>parseFloat('geoff') == NaN;

parseFloat('geoff') == Number.NaN;
</code></pre>
