結果 : for each element in array javascript