Andrew Rea


Why use Object.freeze

I like JavaScript but I also like Encapsulation and Immutability.

Encapsulation with JavaScript

All of the example make use of the Revealing Module Pattern and the Object.freeze method in JavaScript.