Pass comma-separated arguments to js function
<p>I have the following function:</p>

<pre><code>function calculateAspect(options){
    def = {
        orgw: 0,
        orgh: 0,
        tarw: 0,
        tarh: 0
    };
    o = $.extend(def,options);
    console.log(o);


};    
calculateAspect({orgw:640});
</code></pre>

<p>And i want to be able to pass it values like following:</p>

<pre><code>calculatedAspect(640,480,320)
</code></pre>

<p>or</p>

<pre><code>calculateAspect(200)
</code></pre>

<p>This may not seem logical, given the function. But i am just curious how to pull it off.</p>
