What is the difference between these 2 JavaScript declarations?
<p>For one of them the "<code>()</code>" is inside, for the other one it is outside. Here they are:
</p>

<pre><code>var a = (function() {
    return {
        bla: function() {
            console.log('a');
        }
    };
} () );

var b = (function() {
    return {
        bla: function() {
            console.log('b');
        }
    };
}) ();

a.bla();
b.bla();
</code></pre>
