Array.prototype.includesAll

Jordan Harband ljharb at gmail.com
Tue Jun 14 16:31:01 UTC 2016


It'd be nicer if it took an array, rather than being variadic. That also
preserves the ability to add extra arguments in the future.

On Tue, Jun 14, 2016 at 9:21 AM, Shahar Or <mightyiampresence at gmail.com>
wrote:

> Hey, following up from:
>
> https://esdiscuss.org/topic/array-prototype-includes-with-multiple-arguments
>
> How about something like this `Array.prototype.includesAll`?
> http://codepen.io/mightyiam/pen/PzNLKr/?editors=0012
>
>
> _______________________________________________
> 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/20160614/82f09373/attachment.html>


More information about the es-discuss mailing list