Javascript: Pushing values to two dimensional array
<p>I have two arrays:</p>

<p>One dimensional array taulu and two dimensional array taulu2 set up as:</p>

<pre><code>var taulu2 = new Array;
taulu2[0] = new Array;
</code></pre>

<p>Size of the table cannot be figured out when program starts.
I have 2 variables , arvo and taulu[i] (which is value from i th position of array taulu) 
Can't figure our how to use .push(), to put my data to array.</p>

<p>I would expect it to be like this:</p>

<pre><code>taulu2[0][0] = 120
taulu2[0][1] = arvo
taulu2[1][0] = 130
taulu2[1][1] = mömmö
taulu2[2][0] = 140
taulu2[2][1] = jaska
</code></pre>

<p>I am going my table taulu thru with i and using:</p>

<pre><code>taulu2.push (arvo,taulu[i]);
</code></pre>

<p>this put them in one dimensional table. </p>
