Array.prototype.slice web-compat issue?
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss