結果 : string replace char at index javascript