MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

Mutable is a type of variable that can be changed. In JavaScript, only objects and arrays are mutable, not primitive values.

(You can make a variable name point to a new value, but the previous value is still held in memory. Hence the need for garbage collection.)

Learn more

General knowledge

Document Tags and Contributors

 Contributors to this page: hbloomer, Andrew_Pfeiffer, Jeremie, klez, kscarfone, panaggio
 Last updated by: hbloomer,