Does javascript use immutable or mutable strings? Do I need a \"string builder\"?
Strings are immutable – they cannot change, we can only ever make new strings.
Example:
var str= "Immutable value"; // it is immutable var other= statement.slice(2, 10); // new string