The Proxy object is used to define custom behavior for fundamental operations (e.g. property lookup, assignment, enumeration, function invocation, etc).

Documentation Proxy by Mozilla Contributors, licensed under CC-BY-SA 2.5.

Static methods

staticrevocable<T>(target:T, handler:ProxyHandler<T>):RevocableProxy<T>

Creates a revocable Proxy object.

Constructor

new(target:T, handler:ProxyHandler<T>)