Hi,

In the latest draft, I see String.prototype.contains, but no Array.prototype.contains

I see something about a no-brainer here https://mail.mozilla.org/pipermail/es-discuss/2011-December/019108.html
I haven't found a bug on bugs.ecmascript or a mention in the meeting notes.
Or was it superseded by .find?

... or is introducing it risking to break half of the web?

Might be useful to put an end to the ~arr.indexOf tricks [1]

David

[1] https://mxr.mozilla.org/mozilla-central/source/addon-sdk/source/lib/sdk/event/core.js#45
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to