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:
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.