What is the best way to compare a value against 'undefined'?
<p>Is there any differences between</p>

<pre><code>var a;
(a == undefined)
(a === undefined)
((typeof a) == "undefined")
((typeof a) === "undefined")
</code></pre>

<p>Which one should we use?</p>
