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