title: Access current iteration (index) during for await of loop javascript
body: <h2>There is a question about <code>for await ... of</code> loop.</h2>
  
  <p>I have the following code:</p>
  
  <pre><code>    for await (let V of reagent_items.map(object_element =&gt; getPricing(object_element))) {
         console.log(object_element) //I'd like to have access to current iteration.
         //or
         console.log(reagent_items[i]) //current fulfilled element from reagent.map
      }
  </code></pre>
  
  <p>So the problem is that this array (from <code>.map</code>) of functions (V as a single response of <code>getPricing</code>) doesn't return the <code>object_element</code> itself but I need to have access to this <code>object element</code> inside <code>for await ... of</code> loop. </p>
  
  <blockquote>
    <p>Does it possible somehow or not? And if it doesn't, using of <code>Promise.all</code> handles this problem somehow? Or I should modify the original <code>getPricing</code> and <code>return</code> current <code>object_element</code> with other results?</p>
  </blockquote>