javascript anonymous function
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6771406/what-does-this-javascript-snippet-mean">What does this JavaScript snippet mean?</a>  </p>
</blockquote>



<p>i was wondering why is the double Bracket in the end of the function?</p>

<p>here is simple of the anonymous function :</p>

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

<p>(function(){ ... })<strong>()</strong>;</p>

<p>what those for?</p>
