Trimble MAPS interview question

Make a for loop that iterates through an array