What happens when you put a function in parentheses?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/440739/what-do-parentheses-surrounding-a-javascript-object-function-class-declaration-me">What do parentheses surrounding a JavaScript object/function/class declaration mean?</a>  </p>
</blockquote>



<p>I see functions inside parentheses in jQuery plugins and the like. </p>

<p>For example,</p>

<pre><code>(function(args) {
   // ...
})(localVariable);
</code></pre>

<p>What does this do, exactly?</p>
