I want to know about this javascript function pattern
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4043647/what-does-this-function-a-function-inside-brackets-mean-in-javascript">What does this &ldquo;(function(){});&rdquo;, a function inside brackets, mean in javascript?</a><br>
  <a href="http://stackoverflow.com/questions/7779818/javascript-anonymous-function">javascript anonymous function</a>  </p>
</blockquote>



<p>(function())()</p>

<p>this is used in many js library like jquery,YUi</p>
