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.

Learning resources on MDN

Browser support

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

Specifications