ENYO-2525: change array-based loop
ENYO-2525: add enyo.forEach loop
ENYO-2525: clarify code reading