title: Add values from promise.all to array
body: <p>I am invoking multiple api calls using Promise.all and am able to receive their responses, but I want to add them to an array</p>
  <p>my code</p>
  <pre class="lang-js prettyprint-override"><code>async function asynchUploadGrpFiles(files) {
    var responseDetails = [];
  
    await Promise.all([get('https://httpbin.org/get?a=1'),
      get('https://httpbin.org/get?b=2'),
      get('https://httpbin.org/get?c=3')
    ]).then(values =&gt; {
  
      responseDetails.push(&quot;:::: time :::&quot; + values);
  
      console.log(values);
    });
  
    console.log(responseDetails.toString());
  }
  </code></pre>
  <p>I am able to log the response from <code>console.log(values);</code>, but these are not getting pushed in <code>responseDetails</code></p>