Object.isFrozen() static method determines if an object is frozen.
syntax ↴
Object.isFrozen(obj) ↴
obj The object which should be checked.
Object.isFrozen() returns true if an object is frozen.
Object.isFrozen() returns false if an object is not frozen.
An object is frozen ↴
if it is not extensible,
if all of its properties are non-configurable,
if all its data properties are non-writable.
Object.freeze() method freezes an object.
Freezing an object is the highest integrity level that JavaScript provides.
Object.isFrozen(myObject)