Les cordes JavaScript sont immuables

let a = 'hello';
a[0] = 'H';
console.log(a); // "hello"
SAMER SAEID