Js Array Iteration Without Using Arrow