title: Javascript wrapping code inside anonymous function
body: <p>I need help understanding this pattern for jQuery plugin authoring. Can somebody explain this simple bit of code for me?</p>
  
  <pre><code>(function($) { /* Code here */ })(jQuery);
  </code></pre>
  
  <p>I know this is to avoid conflict with different plugins using the same <code>$</code> character but somehow cannot get around my head to understand how it works. What relation does the parameter <code>$</code> has to the <code>jQuery</code> object that got parsed in?</p>