結果 : for each element of array javascript