結果 : replace character at index javascript