title: Javascript equivalent of Python's zip function
body: <p>Is there a javascript equivalent of Python's zip function?  That is, given multiple arrays of equal lengths create an array of pairs.</p>
  <p>For instance, if I have three arrays that look like this:</p>
  <pre class="lang-js prettyprint-override"><code>var array1 = [1, 2, 3];
  var array2 = ['a','b','c'];
  var array3 = [4, 5, 6];
  </code></pre>
  <p>The output array should be:</p>
  <pre class="lang-js prettyprint-override"><code>var outputArray = [[1,'a',4], [2,'b',5], [3,'c',6]]
  </code></pre>