Abdennour TOUMI Abdennour TOUMI - 9 months ago 80
Javascript Question

Opposite of Object.freeze or Object.seal in javascript

i want to freeze a Javascript object some time and not all time , Could i ?

what is it the opposite of

, is there a function has name such as detach ?

Answer Source

There is no way to do this, once an object has been frozen there is no way to unfreeze it.


Freezing an object is the ultimate form of lock-down. Once an object has been frozen it cannot be unfrozen – nor can it be tampered in any manner. This is the best way to make sure that your objects will stay exactly as you left them, indefinitely