MDN / Mutable
MDN / Mutable
A mutable value is one that can be changed without creating an entirely new value, in comparison with .
In , and are mutable by default — their properties and elements can be changed without creating a new object or array. By contrast, are immutable — once a primitive value is created, it cannot be changed, although the variable that holds it may be reassigned another value.
See also
Immutable object on Wikipedia