News for hackers. Stuff that matters.
Re:Using const/let instead of var can make JavaScript code r... by jansan on Wednesday October 21, 2020 @06:19AM (#24846361)
You seem to be confusing const iwth the functionality of Object.seal() and Object.freeze(). While const only makes the reference immutable, with Object.freeze() you can actually make the data immutable. Once you got this, there is not problem with using const all the time.

There are no comments on this comment yet.