News for hackers. Stuff that matters.
Re:All About E: The Language That Infiltrated JavaScript by afiori on Thursday October 27, 2022 @09:29AM (#33357178)
There are two types of immutability in JS: one is rebinding a variable (forbidden by the const keyword) and the other is modifying an object (forbidden by freeze)

In javascript these are similar as environment closures behave sort of similar to prototype chains.

There are no comments on this comment yet.