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.
Glossary: Software Design Patterns in JavaScript
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.