[whatwg] Promise.every() arguments

Anne van Kesteren annevk at annevk.nl
Tue Aug 20 14:23:16 PDT 2013

On Tue, Aug 20, 2013 at 10:00 PM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> ES6 has array spreading, so you can do `Promise.every(...pending)`.
> This already works in Firefox, and V8 (Chrome's JS engine) is adding
> these kinds of features as well.

Domenic made an argument somewhere that since the value of the promise
will be an array, the input should maybe be an array too. Seemed
somewhat reasonable. I agree that due to spreading we shouldn't
consider OP's argument though.


More information about the whatwg mailing list