Re: [whatwg] Promise.every() arguments

On Tue, Aug 20, 2013 at 10:42 PM, Alec Flett <alecflett@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.)


-- 
http://annevankesteren.nl/

Received on Tuesday, 20 August 2013 21:58:43 UTC