title: jQuery $ function syntax
body: <p>What is the difference between the following function definitions?</p>
  
  <p>1:
  </p>
  
  <pre class="lang-js prettyprint-override"><code>$(function () {
      //stuff here
  }); 
  </code></pre>
  
  <p>2:</p>
  
  <pre class="lang-js prettyprint-override"><code>function($){
      //stuff here
  }
  </code></pre>