Javascript best practices, why to use comma to chain function/variable declarations?
<p>I've been developing a plugin for jQuery "jQueryLog" to allow for debugging of chain selectors and return values. If you want to check it out, you can do it <a href="http://www.jquerylog.com" rel="nofollow">here</a></p>

<p>This is already a second version. The first version was actually an edited jQuery and while doing it I had to read jQuery to understand how the internals worked. The question comes from there:</p>

<pre><code>var jQuery = function( selector, context ) {
        // The jQuery object is actually just the init constructor 'enhanced'
        return new jQuery.fn.init( selector, context, rootjQuery );
    },

    // Map over jQuery in case of overwrite
    _jQuery = window.jQuery,

    // Map over the $ in case of overwrite
    _$ = window.$,

    // A central reference to the root jQuery(document)
    rootjQuery,

    // A simple way to check for HTML strings or ID strings
    // Prioritize #id over &lt;tag&gt; to avoid XSS via location.hash (#9521)
    quickExpr = /^(?:[^#&lt;]*(&lt;[\w\W]+&gt;)[^&gt;]*$|#([\w\-]*)$)/,
    (...)
</code></pre>

<p>Is there any big reason for the using a chain of declarations + "comma" instead of just using:</p>

<pre><code>function jQuery ( selector, context ) { ... }

var _jQuery = window.jQuery;
var _$ = window.$;
etc...
</code></pre>

<p>The only reason I see here is for the minifier to have less literals that can't be cut down. But are there any other reasons?</p>
