Skip to main content Skip to docs navigation

A mutable value is one that can be changed without creating an entirely new value. In JavaScript , objects and arrays are mutable by default, but primitive values are not — once a primitive value is created, it cannot be changed, although the variable that holds it may be reassigned.

On this page

Updated on April 20, 2024 by Datarist.