Array.prototype.slice web-compat issue?

Rick Waldron waldron.rick at
Tue Sep 10 15:52:31 PDT 2013

On Tue, Sep 10, 2013 at 6:42 PM, Andrea Giammarchi <
andrea.giammarchi at> wrote:

> the polyfill for Array.from is based on slice 'cause slice works like that
> since, well, ever.

You might've made a polyfill like that, but I think it's ok to admit that
the approach was naive. This was mine, written before the mapFn was
spec'ed, no slice:

Anyway, I'm still with you on making sure that behaviour doesn't break.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list