結果 : javascript loop through each element in array