Object.freeze: Immutable Objects

added by JavaScript Kicks
9/10/2018 12:40:25 PM

1193 Views

One of my favorite part of JavaScript has always been mutability of objects. I loved that MooTools and likewise frameworks could modify native prototypes to enhance them with functionality we knew the language need; in fact, I credit MooTools with pushing the web forward. There are cases, however, where you don't want an object to ...


0 comments