On Thu, Nov 27, 2014 at 12:54 PM, Mathias Bynens <mathi...@opera.com> wrote:

> On Thu, Nov 27, 2014 at 12:52 PM, Philip Jägenstedt <phil...@opera.com>
> wrote:
> > It sure sounds like 'contains' would be less likely to cause trouble,
> > and is also a slightly better name IMHO.
> >
> > Is Mozilla on board with renaming it? If they're not keen, I think
> > following their lead with 'contains' makes more sense.
>
> The renaming of `contains` to `includes` was decided at the recent
> TC39 meeting:
> https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-11/nov-18.md#51--44-arrayprototypecontains-and-stringprototypecontains
> `contains` was breaking the web (for both `String` and `Array`).
>

Yes, 'contains' was breaking (IE reports that as well).

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to