Delegator
Forwards every object operation to another object. Subclass it to wrap a host object: override only what you want to change and the rest keeps working.
Properties
Functions
With nothing behind it this acts as a prototype: new builds a delegator over a fresh object.
[DefineOwnProperty], returning false when the host cannot make the requested definition. The legacy default supports its data-property attributes and refuses accessors or flags that put cannot represent. It does not add storage alongside the host's own properties.
A delegator is its own primitive when asked for an object, and defers otherwise.
[GetOwnProperty]. The legacy default describes a mutable, enumerable, configurable data property. Hosts with accessors or other attributes override this operation.
Backs the instanceof operator.
[OwnPropertyKeys], including non-enumerable names and symbols. Keys use the engine's String, Int-index or Symbol representation. The legacy default lists getIds.
[PreventExtensions]. A legacy host cannot enforce this through put, so it refuses.
[SetPrototypeOf], with extensibility and ordinary prototype-cycle checks.