Array.prototype.includesAll

Isiah Meadows isiahmeadows at gmail.com
Wed Jun 15 03:22:42 UTC 2016


I agree that the tone was a bit iffy, but I do support this being in a
third party library. I have only a couple times ever had a legitimate need
for this, one of which was to write an assertion that I later used. Not
sure it's common enough it needs to be in the language. I just don't see
the need for it, and I don't feel it would be worth adding to the already
huge and complex implementations.

On Tue, Jun 14, 2016, 16:22 Tab Atkins Jr. <jackalmage at gmail.com> wrote:

> On Tue, Jun 14, 2016 at 12:58 PM, Bob Myers <rtm at gol.com> wrote:
> > This proposal is so far from something that should go into the base
> language
> > that it makes me choke.
> >
> > Are you also going to propose that we add `includesNone` and
> `includesSome`?
> > Do you want to include an option to sort the items for efficiency?
> > Why do you provide no `fromIndex` parameter?
> > Shall we include an option to lowercase before checking for equality?
> > How does this relate to the notion of array difference, which is one way
> to
> > accomplish what you want?
> >
> > Just write a library that does what you want and get on with your life.
>
> This is a grossly inappropriate tone and does not belong on the list.
>
> ~TJ
> _______________________________________________
> 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/20160615/0af947f2/attachment-0001.html>


More information about the es-discuss mailing list