Please explain this Javascript variable?
<p>Could you guys please explain the difference between the two following variables?</p>

<pre><code>var test = {};
var test2 = [];
</code></pre>

<p>Are they not both declaring an array variable? If not, when to use which?</p>
