Process a list of items by executing the same step repeatedly, handling each element one at a time in sequence.
Add Loop
null
, undefined
, or false
to terminate the loopindex
: Current iteration number (starts at 0)item
: Current value being processedreturn items[index];
map()
to access individual iteration results.
null
, undefined
, or false
.
Array bounds automatically handle termination:
Remove Loop