Declaration function inside ( )
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5020479/what-advantages-does-using-functionwindow-document-undefined-windo">What advantages does using (function(window, document, undefined) { … })(window, document) confer?</a><br>
  <a href="http://stackoverflow.com/questions/9053842/advanced-javascript-why-is-this-function-wrapped-in-parentheses">Advanced Javascript: Why is this function wrapped in parentheses?</a>  </p>
</blockquote>



<p>I just checked how jquery is written, then in the first line of it i see this:</p>

<pre><code>(function( window, undefined ) {

});
</code></pre>

<p>My question is what is the meaning or reason the declaration of function is inside the <code>(</code> and <code>)</code>?</p>
