What is the opposite of Object.freeze or Object.seal? Is there a function that has a name such as detach?
Object.freeze
Object.seal
You cannot unfreeze (thaw) an object, but if the object is simply a collection of primitives (no functions or classes), you can get a thawed clone of the object like this:
const unfrozenObj = JSON.parse(JSON.stringify(frozenObj));