I get what you wanted to do with deep-lockdown but just wanted to clarify that Object.seal and Object.preventExtensions are not needed to perform what is called a deep lockdown by you. Object.freeze automatically calls Object.seal and then modifies the writable property descriptor to be false for each property of the object
I get what you wanted to do with deep-lockdown but just wanted to clarify that Object.seal and Object.preventExtensions are not needed to perform what is called a deep lockdown by you. Object.freeze automatically calls Object.seal and then modifies the writable property descriptor to be false for each property of the object