Optional
applyThe original callable object which is being proxied.
Optional
constructA trap for the new
operator.
The original object which is being proxied.
The constructor that was originally called.
Optional
defineA trap for Object.defineProperty()
.
The original object which is being proxied.
A Boolean
indicating whether or not the property has been defined.
Optional
deleteA trap for the delete
operator.
The original object which is being proxied.
The name or Symbol
of the property to delete.
A Boolean
indicating whether or not the property was deleted.
Optional
getA trap for getting a property value.
The original object which is being proxied.
The name or Symbol
of the property to get.
The proxy or an object that inherits from the proxy.
Optional
getA trap for Object.getOwnPropertyDescriptor()
.
The original object which is being proxied.
The name of the property whose description should be retrieved.
Optional
getA trap for the [[GetPrototypeOf]]
internal method.
The original object which is being proxied.
Optional
hasA trap for the in
operator.
The original object which is being proxied.
The name or Symbol
of the property to check for existence.
Optional
isA trap for Object.isExtensible()
.
The original object which is being proxied.
Optional
ownOptional
preventA trap for Object.preventExtensions()
.
The original object which is being proxied.
Optional
setA trap for setting a property value.
The original object which is being proxied.
The name or Symbol
of the property to set.
The object to which the assignment was originally directed.
A Boolean
indicating whether or not the property was set.
Optional
setA trap for Object.setPrototypeOf()
.
The original object which is being proxied.
A trap method for a function call.