Complicated way of Javascript function
<p>I observe a different (different for me) way to write function of javascript or jquery,,,you guys kindly guide me about the working of this one.</p>

<pre><code>(function () 
{
//some statements of javascript are sitting here
//some statements of javascript are sitting here
//some statements of javascript are sitting here
//some statements of javascript are sitting here
//some statements of javascript are sitting here
}()); 
</code></pre>

<p>Truly I'm not understanding <code>(function(){}());</code>.</p>

<p>No one is calling it but it is being called properly.</p>

<p>If any piece of tutorial you guys know, concerned to it, then tell me.</p>
