title: Merge two arrays , So that both 1st index is in new array and so on
body: <p>I have two arrays like this </p>
  
  <p>1st array is </p>
  
  <pre><code>array1[
  0:"7@a.com"
  1:"6@live.com"
  2:"5@live.com"
  3:"55@a.com"
  4:"4@live.com"
  5:"3@live.com"
  6:"62@a.com"
  7:"61@a.com"
  8:"61@a.com"
  9:"59@a.com"
  10:"58@a.com"
  </code></pre>
  
  <p>And array two in same way like this </p>
  
  <pre><code>0"5223b14d-1682-4777-8ada-c5b0c972756f"
  1:"290c79e8-62da-46f1-bff5-157031a079fa"
  2:"eb4ff5f9-82c7-4095-8116-1c34f1755d06"
  3:"987c51f4-23f1-4783-8061-a47dfff16fe3"
  4:"afcf5ef1-a87d-465f-bb1b-f8db81ecc178"
  5:"2d299d60-9481-4c3f-9b9b-e6659ee74d07"
  6:"1f40b5ef-990f-4edd-925c-b511dd64899f"
  7:"88de17fd-286f-4960-9e4f-a2b01425da82"
  8:"1bb181cb-ab7c-47af-95a6-99357459e6a3"
  9:"9554f7c2-a20d-4ff7-add6-8840b2d06a89"
  10:"15e51955-9eb9-4c4b-990f-97e29820e04d"
  </code></pre>
  
  <p>now I want to make 10 new arrays with combinations of indexs of both like </p>
  
  <pre><code>newarray=[array1[0],array2[0]];
  </code></pre>
  
  <p>I got the algo but dont know how can I loop through on both. as I tried but got just words of both. And I tried 3,4 soloution on stak overflow but didnt work for me .</p>