Greetings! TC39 has decided to solve the web-compat issues with Array.prototype.contains that forced us to back out the feature on October 1st by renaming the method to "includes". This has now landed on Nightly. However, it is Nightly-only for now, so don't use it in production code that's intended to make the merge to Developer's Edition.
In further news and for similar reasons, String.prototype.contains will be renamed to "includes" as well. This is somewhat unfortunate as we've been shipping String.prototype.contains since Firefox 18. To work around that, it'll probably be necessary to keep contains as an alias for a while, ideally with a warning logged to the console. The rename is tracked in bug 1102219. thank you, till _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform