array empty on jquery?
<p>I'm trying to learn on making my first dynamic loader from scratch with jQuery (for learning purpose) here is where I got stuck:</p>

<pre><code>&lt;script type="text/javascript"&gt;
jQuery.learningdynamicloader= function(){
     var js = [];
     var css = [];
     console.log(js,css);
};
&lt;/script&gt;
&lt;script&gt;
$(document).ready(function() {
    $.learningdynamicloader(function(){
        js = ['jquery','test'];
        css = ['css','test'];
    });
});
&lt;/script&gt;
</code></pre>

<p>My firebug log <code>js</code> and <code>css</code> returns nothing, it seems that there is a problem. After I Google is there any diffrence between <code>js = ['values']</code> and <code>js : ['values']</code> ?    </p>

<p>Thanks for looking.</p>
