Converts an
array.forEach()
to a
for..of
loop. Although these code constructs are similar, a
for..of
loop allows using
continue
and
break
statements.