As of Firefox 154, I intend to turn Iterator.prototype.includes on by default. It has been developed behind the javascript.options.experimental.iterator_includes preference.
Summary: Adds an Iterator.prototype.includes method that allows asking if an iterator will yield a specified value, similar to Array.prototype.includes. Bug to turn on by default: https://bugzilla.mozilla.org/show_bug.cgi?id=2034104 Specification: https://github.com/tc39/proposal-iterator-includes Standards Body: TC39 Platform Coverage: All Preference: javascript.options.experimental.iterator_includes DevTools Bug: N/A Extensions Bug: N/A Use Counter: N/A Standards-Positions Discussion: N/A Other Browsers: - Blink, in progress, tracked by https://issues.chromium.org/issues/504886973 - Safari, not started, tracked by https://bugs.webkit.org/show_bug.cgi?id=310698 web-platform-tests: Covered by Test262, the tests haven't merged yet ( https://github.com/tc39/test262/pull/5031), but I've landed a local version in tree. -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAC_Rxa4Q9F-4qMvPBteG_Kx51AkwDCgCxsxS2CLnrv3cVVuLgQ%40mail.gmail.com.
