結果 : javascript replace char in string at index