JavaScript Object Syntax
<p>What is the logic behind this:</p>

<p>object = object = function</p>

<p>I see it a lot in jQuery, for example, 1.4.4 line 99:</p>

<pre><code>jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
</code></pre>

<p>or line 332:</p>

<pre><code>jQuery.extend = jQuery.fn.extend = function() {
</code></pre>

<p>Why would you use this syntax?</p>
