title: Concept : Async - Await returning results with Promise{<Pending>}
body: <p>I came across one of the problem with Async and await. Where it is returning Promise array instead of actual Array of values. I understand async await uses Promise and generators internally but wanted to understand how i can solve the below issue.</p>
  <pre><code>let object = [
      &quot;hello1&quot;,
      &quot;hello2&quot;,
      &quot;hello3&quot;,
      &quot;hello4&quot;
  ]
  
  async function funct(value){
      return new Promise((res,rej)=&gt; res( value + '-world'));
  }
  
  
  
  let resultArray = object.map(async (e)=&gt;{
      let result = await funct(e);
      return result
  })
  
  
  console.log(Promise.all(resultArray).then((r)=&gt; console.log(r)));
  </code></pre>
  <p>output is :</p>
  <pre><code>Promise { &lt;pending&gt; }
  [ 'hello1-world', 'hello2-world', 'hello3-world', 'hello4-world' ]
  </code></pre>
  <p>But I am looking for actual array of values.</p>
  <pre><code>[ 'hello1-world', 'hello2-world', 'hello3-world', 'hello4-world' ]
  </code></pre>
  <p>Can you please suggest on this.?</p>