What is the difference between these jQuery ready functions?
<p>what is difference between</p>

<pre><code>$(function(){

}); 
</code></pre>

<p>and </p>

<pre><code>$(document).ready(function() { 

});
</code></pre>
