Javascript 'new' with function returning self-defined object
<p>Suppose I have the following function:</p>

<pre><code>var A = function() {
   var label = "hello";
   return {
      getLabel: function() { return label; }
   }
};
</code></pre>

<p>Is there any difference between:</p>

<pre><code>var a = A();
</code></pre>

<p>and</p>

<pre><code>var a = new A();
</code></pre>

<p>?</p>
