Immutable means unchangeable i.e. you can’t change.
string primitive type. Try this in your console.
s = "red"; console.log(s); //→ "e" s = "x"; console.log(s) //→ "red"
s didn’t change! WAT!
Some string methods like
String.replace returns a new string.