perf: prefer .forEach
over for...in
and for...of
#1281
Merged
.forEach
over for...in
and for...of
#1281