What does $(function ()..})(jQuery); mean?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2937227/jquery-what-does-function-jquery-mean">jQuery: What does (function($) {})(jQuery); mean?</a>  </p>
</blockquote>



<p>I am using the Telerik MVC controls.  In the <code>telerik.examples.min.js</code> file they have the following:</p>

<pre><code>$(function () {
   // other code here
})(jQuery);
</code></pre>

<p>Has this only got to do with global variables?  If so, why are global variables bad?</p>

<p>What is <code>(jQuery)</code>?</p>
