There is no need to change the name.
MooTools has had these issues in the past (they've broke with ES5, ES6, &
ES7 methods).
Array#contains is ES7 so there's time for their patch to release/propagate.

- JDD


On Tue, Sep 30, 2014 at 3:04 PM, Jason Orendorff <[email protected]>
wrote:

> On Tue, Sep 30, 2014 at 1:45 PM, MichaƂ Wadas <[email protected]>
> wrote:
> > Bug in MooTools is not a reason to make any method of Array.prototype
> > enumerable.
>
> Well -- true, that would break even more sites.
>
> We're backing out Array#contains() for now. It's disappointing to me
> personally -- that was a volunteer contribution. In the long run,
> perhaps renaming it is the best course? :-\
>
> -j
> _______________________________________________
> 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

Reply via email to