Make Immutable JavaScript Objects Using Object.Freeze
Yes we can do this. The title seems pretty fascinating for developers and yes even we felt great when we learnt about Object.freeze method in JavaScript. Isn't that great that we make an object in JavaScript and stay assured that it won't be altered at all during run-time. Those who aren't aware about Object.freeze let's make you aware