Fields
optionalsetPrototypeOf:Null<(target:T, prototype:Null<{}>) ‑> Bool>
A trap for Object.setPrototypeOf
.
optionalset:Null<(target:T, property:String, value:Any, receiver:Null<{}>) ‑> Bool>
A trap for setting property values.
optionalownKeys:Null<(target:T) ‑> Array<String>>
A trap for Object.getOwnPropertyNames
and Object.getOwnPropertySymbols
.
optionalgetOwnPropertyDescriptor:Null<(target:T, prop:String) ‑> Null<ObjectPropertyDescriptor>>
A trap for Object.getOwnPropertyDescriptor
.
optionalget:Null<(target:T, property:String, receiver:Null<{}>) ‑> Any>
A trap for getting property values.
optionaldefineProperty:Null<(target:T, property:String, descriptor:ObjectPropertyDescriptor) ‑> Bool>
A trap for Object.defineProperty
.