How to add dynamically growing array into another dynamic array
<p>In my project i have arrays for date1, date2 and so on upto one month dates as shown below</p>

<pre><code>var day1= [4,5,6,11];
var day2= [7,8,9,12];
var day3= [10,11,12,14];...

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

<p>In the above each array exact size we dont know that may increase or decrease and i need to pass these values to the one more set of arrays like </p>

<pre><code>var data1= [day1[0], day2[0], day3[0]];
var data2= [day1[1], day2[1], day3[1]];
var data3= [day1[2], day2[2], day3[2]];...

var data30= [day1[30], day2[30], day3[30]];
</code></pre>

<p>As per the day array size data array size will increase.</p>

<p>How to solve this issue any help..?</p>
