The Object.isExtensible() method determines if an object is extensible (whether it can have new
properties added to it).
Where there is no native Object.isExtensible (a runtime which can't prevent extensions) an object or function
is extensible and a primitive value, including null and undefined, is not.
Parameters
obj: any
The object which should be checked.
Returns boolean
A Boolean indicating whether or not the object is extensible.
The Object.isExtensible() method determines if an object is extensible (whether it can have new properties added to it). Where there is no native
Object.isExtensible(a runtime which can't prevent extensions) an object or function is extensible and a primitive value, includingnullandundefined, is not.