Object.freeze() vs Object.seal() vs Object.defineProperty()
When it comes to objects in JavaScript, we tend to mess up real quick if we do not pay attention to them. So, adding some restrictions to them is probably a good idea. But, how? There are multiple ways to do so, but without proper understanding, they...
anurag-dhamala.hashnode.dev4 min read
Anurag Kumar
SE | Full-stack Developer | Devops | Blogger | MERN stack | Express | React | Redux | MongoDB | Node | JS | Java | Docker | K8s |AWS
Great explanation!