結果 : loop through an array javascript