Proxies & Reflect
A Proxy in ES6 is a special type of object that allows us to intercept operations preformed on an Object. Operations like property lookups, assignments and more. Proxies all us to set up a target
object with a handler
. The handler
object is used to override the operations on our target object. Let’s first look at the syntax for our Proxy.
Get hands-on with 1200+ tech skills courses.