Re: [whatwg] Promise.every() arguments

On Tue, Aug 20, 2013 at 10:00 PM, Tab Atkins Jr. <jackalmage@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.


-- 
http://annevankesteren.nl/

Received on Tuesday, 20 August 2013 21:23:42 UTC