How does jQuery.ready() treat a call to itself?
<p>As an example:</p>

<pre><code>$( function(){
    //do stuff
    $( function(){
        //do other stuff
    });
});
</code></pre>

<p>Of course written out in code this seems to make no sense. But a plugin which works with HTML elements may use .ready() while itself being executed on an element in the main script's .ready(). How does jQuery handle this exactly? It clearly works, but does it do anything special?</p>
