Iterator methods
Limited availability
The Iterator
object is an abstract base for objects that implement the iterator protocol. It provides methods common to built-in iterators, such as filter()
, find()
, map()
, and reduce()
. You can also use the static method Iterator.from()
to convert an existing iterable into an Iterator
.
Learning resources on MDN
Browser support
- Chrome 122 Released on 2024-02-20
- Chrome Android 122 Released on 2024-02-20
- Edge 122 Released on 2024-02-23
- Firefox 131 Released on 2024-10-01
- Firefox for Android 131 Released on 2024-10-01
- Safari ❌ See webkit.org/b/248650
- Safari on iOS ❌ See webkit.org/b/248650
Baseline availability blocked since October 2024 by Safari (2 months)
Specifications
- Iterator Helpers, from TC39 (Ecma International).