結果 : for all elements in array javascript