結果 : loop through each item in array javascript