Array.prototype.contains

Will Ray wray167 at gmail.com
Thu Jul 24 06:44:02 PDT 2014


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 <ajvincent at gmail.com> wrote:

> On Wed, Jul 23, 2014 at 2:00 PM, Michael Haufe <tno at 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 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/20140724/4da6bcea/attachment.html>


More information about the es-discuss mailing list