Iterator includes()
Limited availability
The includes() method of an Iterator object returns true when an item yielded by the iterator is the same as a given value. It's similar to the includes() method of arrays.
Browser support
- Chrome 154 Released on 2026-09-22
- Chrome Android 154 Released on 2026-09-22
- Edge 154 Released on 2026-09-24
- Firefox 154 Released on 2026-08-18
- Firefox for Android 154 Released on 2026-08-18
- Safari Not supported
- Safari on iOS Not supported
Baseline availability blocked since September 2026 by Safari (1 months)
Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.
MDN documentation
Specifications
- Iterator Includes (#sec-iterator.prototype.includes), from TC39 (Ecma International).
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist