title: Promise.all: Order of resolved values
body: <p>Looking at <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all">MDN</a> it looks like the <code>values</code> passed to the <code>then()</code> callback of Promise.all contains the values in the order of the promises. For example:</p>
  
  <pre><code>var somePromises = [1, 2, 3, 4, 5].map(Promise.resolve);
  return Promise.all(somePromises).then(function(results) {
    console.log(results) //  is [1, 2, 3, 4, 5] the guaranteed result?
  });
  </code></pre>
  
  <p>Can anybody quote a spec stating in which order <code>values</code> should be in?</p>
  
  <p>PS: Running code like that showed that this seems to be true although that is of course no proof - it could have been coincidence.</p>