JavaScript has several ways to repeat work. Choosing the right one makes intent obvious. Loop Iterates over Use when for (let i = 0; …; i++) indexes you need the index or custom stepping for…of values of any iterable (array, string, Map, Set) the default choice for arrays for…in keys of an object (incl. inherited) rarely — prefer Object.keys/entries while / do…while until a condition fails unknown number of iterations array.forEach() array items via callback side effects only (cannot break) map/filter/reduce array → new value transforming data Control flow inside loops break exits the loop, continue skips to the next iteration, and labels let you break out of nested loops. Async loops await works inside for…of (runs sequentially) but not inside forEach — the callback's promise is…