結果 : replace value in an array javascript