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

GLOSSARY · A WORD, UNPACKED

iterable

a value that can supply an iterator for reading its values in sequence.

A little more detail

JavaScript iterables provide Symbol.iterator. Arrays, strings, and generator objects are common examples, and for...of consumes them. A plain object with named properties is not automatically iterable; you can choose Object.keys, Object.values, or Object.entries when those are the values you need.

See it in practice

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