結果 : update value in array javascript