DEV Community

Discussion on: Once and for all: const in JavaScript is not immutable

Collapse
 
itsjzt profile image
Saurabh Sharma

The thing is const never let you to change the memory address it refers to.

you but can mutate the value itself.