Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

immutable

cannot be changed after it's created; any "change" actually produces a brand new value instead.

A little more detail

All JavaScript primitive values are immutable, including strings. A string operation returns a value rather than editing characters inside the original string. A variable holding an immutable value can still be reassigned if its declaration permits that. Immutability describes the value, while const describes the binding.

See it in practice

These lessons pair the idea with examples you can change and run.