[whatwg] Promise.every() arguments

Anne van Kesteren annevk at annevk.nl
Tue Aug 20 14:58:15 PDT 2013

On Tue, Aug 20, 2013 at 10:42 PM, Alec Flett <alecflett at chromium.org> wrote:
> Promises are going to be out way before ES6, it seems unfortunate that
> everyone's going to have to use Promise.every.apply though, since spreading
> is a syntax error in non-ES6... it means you can't polyfill it in the
> general case. (And maybe there's some generic answer to that aspect of ES6 -
> I'm admittedly not up to speed on the ES6 future-compatible story)

We already decided against this argument for new APIs (e.g. see new
stuff in DOM). Where spreading makes sense, it should be used. (The
future is longer than the past.)


More information about the whatwg mailing list