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
I was issue that problem too. TO fix it, I used JavaScript JSON API to unfreeze my object: const unfreezeObject = JSON.parse(JSON.stringify(freezeObject)). After, I did all mutations I needed.
const unfreezeObject = JSON.parse(JSON.stringify(freezeObject))