javascript function
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1639180/how-does-the-function-construct-work-and-why-do-people-use-it">How does the (function() {})() construct work and why do people use it?</a>  </p>
</blockquote>



<p>Hi, </p>

<p>Learning javascript I came across with this function.</p>

<pre><code>&lt;script language = "javascript"&gt;
     (function( window, undefined ) {
     })(window);
 &lt;/script&gt;
</code></pre>

<p>Wondering what type of funcion is this one and how I can call it.</p>

<p>Thanks.</p>
