Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

iteration

going through a collection of items one at a time, usually with a loop.

A little more detail

Iteration also means one repetition of a loop’s body. A loop can repeat a calculation without reading a collection, as long as it has a rule for progressing and stopping. An iterator makes the next result available on demand, and for...of uses an iterable’s iterator to consume its values.

See it in practice

These lessons pair the idea with examples you can change and run.