Re:How I discovered my love for JavaScript after throwing 90...
by igemnace on Sunday September 17, 2017 @10:26PM
(#15272934)
`const` doesn't mean immutable data. It means immutable variables, i.e. you can't reassign to `const` variables. You can mutate the data regardless (push to an array, add a new key to an object), unless the variable points to an immutable value to begin with (primitives, or actual immutable data structures such as with Immutable.js).
[ Parent
| on HN ]
There are no comments on this comment yet.