The objIsFrozen() method determines if an object is frozen. An object is frozen if and only if it is not
extensible, all its properties are non-configurable, and all its data properties are non-writable.
Where there is no native Object.isFrozen (a runtime which can't freeze an object) a primitive value, including
null and undefined, is frozen and an object or function is not.
Parameters
obj: any
The object to check if it is frozen.
Returns boolean
A Boolean indicating whether or not the given object is frozen.
The
objIsFrozen()method determines if an object is frozen. An object is frozen if and only if it is not extensible, all its properties are non-configurable, and all its data properties are non-writable. Where there is no nativeObject.isFrozen(a runtime which can't freeze an object) a primitive value, includingnullandundefined, is frozen and an object or function is not.