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

