What does this mean in javascript: var obj = (function(){ .... })()
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/592396/what-is-the-purpose-of-a-self-executing-function-in-javascript">What is the purpose of a self executing function in javascript?</a>  </p>
</blockquote>



<p>Please, can someone explain to me what does that mean in JS:</p>

<pre><code>var obj = (function(){ 
   // code
})()
</code></pre>

<p>Thanks</p>
