Would Array.prototype.removeAll(element); be worth considering? In the same vein as querySelector/querySelectorAll?
On Wed, Jul 23, 2014 at 4:05 PM, Alex Vincent <ajvinc...@gmail.com> wrote: > On Wed, Jul 23, 2014 at 2:00 PM, Michael Haufe <t...@thenewobjective.com> > wrote: > >> Array.prototype.removeAt(index); >> Array.prototype.remove(element); >> > > We already have an equivalent of removeAt: Array.prototype.splice(index, > 1). My concern about remove still stands. > > -- > "The first step in confirming there is a bug in someone else's work is > confirming there are no bugs in your own." > -- Alexander J. Vincent, June 30, 2001 > > _______________________________________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss