What kind of a pattern/object is this in Javascript?
<p>I see this pattern a lot (which I actually use) but I want an explanation as to how it works.</p>

<pre><code>var mystuff = function() {


    var blah = function() {

    };


    return {

        setup: function() {
              blah();
        };

    };


}();
</code></pre>

<p>Then usage is very OOP like:</p>

<pre><code>mystuff.setup();
</code></pre>
