title: Using map to iterate through two arrays
body: <p>Currently in React, I am using <code>array.map(function(text,index){})</code> to iterate through an array. But, how am I going to iterate through two arrays simultaneously using map?</p>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>var sentenceList = sentences.map(function(text,index){
              return &lt;ListGroupItem key={index}&gt;{text}&lt;/ListGroupItem&gt;;
          })
  return (
       &lt;div&gt;
         &lt;ListGroup&gt;
          {sentenceList}
        &lt;/ListGrouup&gt;
     &lt;/div&gt;
  );
  </code></pre>
  
  <p>Like, in this I want icons to be prepended with every iteration. And I'm planning to have those icons in another array. So, thats why iterate two arrays.</p>