As a JavaScript developer, it’s possible that you might have used strict mode at one point or the other in your code and if you haven’t, well, you might someday. …

Ever wondered how to prevent your code from mutating object properties whose values should never change?

I know what you’re probably thinking, why not just use a const keyword to declare the object? …

Edmund Ekott

Software Developer | Blockchain Enthusiast.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store