Array.prototype.do proposal

Reinis Ivanovs dabas at untu.ms
Thu Oct 5 07:21:45 UTC 2017


Array is just one of the collection types, and it probably shouldn't be
extended if the others aren't. The previous opinion of TC39 has also been
against extending the collection type prototypes in general, opting for
generic iteration methods instead, but it's a complex issue and no one's
tackled it properly yet.

On Thu, Oct 5, 2017 at 4:18 AM, Pranay Prakash <pranay.gp at gmail.com> wrote:

> I found the existence of a function like this in RxJS quite useful and I
> wish JavaScript had it too. What do you think?
>
> https://github.com/pranaygp/proposal-array-prototype-do
>
> Cheers,
> Pranay
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171005/65f67e39/attachment.html>


More information about the es-discuss mailing list