Reflect.isExtensible()
The static Reflect.isExtensible()
method determines if an object is extensible (whether it can have new properties added to it). It is similar to Object.isExtensible()
, but with some differences.
Syntax
Reflect.isExtensible(target)
Parameters
target
- : The target object which to check if it is extensible.
Return value
A Boolean
indicating whether or not the target is extensible.
Exceptions
A TypeError
, if target
is not an Object
.