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 <[email protected]> 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
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to