Web features explorer

Iterator methods

Limited availability
Tags: javascript Groups: JavaScript > Iterators

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. To learn more, see Iterator at MDN.

Compatibility

Baseline availability blocked since October 2024 by Safari (1 months)

Specifications