In the latest draft, I see String.prototype.contains, but no Array.prototype.contains
I see something about a no-brainer here
esdiscuss/2011-December/019108
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?
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
In the latest draft, I see
String.prototype.contains
, but noArray.prototype.contains
I see something about a no-brainer here esdiscuss/2011-December/019108 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