Back to Developer Roadmap

for...of statement

src/data/roadmaps/javascript/content/forof-loop@FBz6h_AmTJBXoBN-a38a5.md

4.0532 B
Original Source

for...of statement

The for...of statement executes a loop that operates on a sequence of values sourced from an iterable object. Iterable objects include instances of built-ins such as Array, String, TypedArray, Map, Set, NodeList (and other DOM collections), and the arguments object, generators produced by generator functions, and user-defined iterables.

Visit the following resources to learn more: