title: Node: Is behavior well-defined for Promise.all with non-Promise values?
body: <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all" rel="nofollow noreferrer">docs</a> for <code>Promise.all()</code> describe the argument as an array of Promises. Is behavior defined if some (or all) of the elements in the array are non-Promise values? For example, in Node 6.10.2:</p>
  
  <pre><code>Promise.all([1, 2, 3]).then(
    res =&gt; console.log(res)
  );
  </code></pre>
  
  <p>Prints <code>[ 1, 2, 3 ]</code>, as expected. Is this behavior (where <code>Promise.all</code> resolves with the same values that it was called with) <strong>guaranteed</strong> in Node?</p>