title: javascript array of arrays
body: <p>I have the following arrays:</p>
  
  <pre><code>var dates = new Array();
  var answers = new Array();
  </code></pre>
  
  <p>Once Populated, they will be the same length. What I need is an array that pair the same index values of the arrays. Like so:</p>
  
  <pre><code>var pairedArray = new Array();
  //pairedArray should have the form: [[dates[0], answers[0]], [dates[1], answers[1]], ...., [dates[n-1], answers[n-1]]]
  </code></pre>
  
  <p>e.g.</p>
  
  <pre><code>data: [
              [Date.UTC(2010, 0, 1), 29.9], 
              [Date.UTC(2010, 2, 1), 71.5], 
              [Date.UTC(2010, 3, 1), 106.4]
          ]
  </code></pre>
  
  <p>How is this possible given that I have two arrays of the same length, answers and dates that are already populated?</p>