string one char change in typescript code example
Example: string one char change in typescript
let hello:string = "Hello World";
console.log(hello.replaceAt(2, "!!")); // Should display He!!o World
let hello:string = "Hello World";
console.log(hello.replaceAt(2, "!!")); // Should display He!!o World