Array.prototype.slice web-compat issue?

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


On Tue, Sep 10, 2013 at 6:42 PM, Andrea Giammarchi <
andrea.giammarchi at gmail.com> 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: https://gist.github.com/rwaldron/3186576

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

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130910/020f5651/attachment.html>


More information about the es-discuss mailing list