Skip to content

Glossary: Software Design Patterns in JavaScript

Iterator

Also written: iterators, Symbol.iterator, for...of

A pattern that steps through a collection one item at a time without showing how it is stored. Every for...of loop uses one.

Where the book teaches it

Related terms

Generator