jQuery Functions Syntax Difference
<p>How does:</p>

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

<p>differ from <code>$(document).ready(function()</code>  in jquery?</p>

<p>I know what the <code>ready</code> function does. It awaits until the HTML is loaded before it starts. However, does <code>(function($)</code> do the same?</p>
