Glossary Term
Proxy() constructor
Use the Proxy() constructor to create a new Proxy object. This constructor takes two mandatory arguments:
target is the object for which you want to create the proxy handler is the object that defines the custom behavior of the proxy.
An empty handler will create a proxy that behaves, in almost all respects, exactly like the target. By defining any of a set group of functions on the handler object, you can customize specific aspects of the proxy’s behavior. For example, by defining get() you can provide a customized version of the target’s property accessor.
Syntax example: new Proxy(target, handler)
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
