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
Link copied to clipboard
open override fun call(cx: Context, scope: Scriptable, thisObj: Scriptable?, args: Array<Any?>): Any?
Link copied to clipboard
With nothing behind it this acts as a prototype: new builds a delegator over a fresh object.
Link copied to clipboard
A delegator is its own primitive when asked for an object, and defers otherwise.
Link copied to clipboard
Link copied to clipboard
Backs the instanceof operator.
Link copied to clipboard