JavaScript Variable Declaration
<p>This is a really stupid question, but I'm just drawing a blank here...</p>

<p>What type of variable declaration is this:</p>

<pre><code>var s1 = [1,2,3,4]
</code></pre>

<p>Also, How can I construct a variable like this from multiple objects when the amount of those objects is unknown. This is what I came up with, which doesn't work.</p>

<pre><code>var s1 = [];
for(x in data[i].uh) {
    s1 += data[i].uh[x];
}
</code></pre>
