Do both of these create a namespace, or is there a difference?
<pre><code>var Blah = Blah || {};
</code></pre>

<p>or</p>

<pre><code>if ((typeof Blah) == 'undefined') {
  var Blah = {};
}
</code></pre>

<p>Is there a difference or both do the same thing?</p>
