Array.prototype.includesAll

Tab Atkins Jr. jackalmage at gmail.com
Tue Jun 14 20:21:32 UTC 2016


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


More information about the es-discuss mailing list