Re:Using const/let instead of var can make JavaScript code r...
by jansan on Wednesday October 21, 2020 @06:16AM
(#24846347)
It's the same in Java and never caused any problems. You just have to understand what const does. What the OP is looking for is Object.seal() and Object.freeze().
This is a pointless discussion.