What is Immutable ? | who is immutable in JS

Basically Immutable means, unable to change.
An immutable value is one whose content cannot be changed without creating an entirely new value.
In JS Primitive Values are immutable.
once a primitive value is created, it cannot be changed, although the variable that holds it may be reassigned another value.

2 Likes