A Proxy wraps an object and lets you intercept fundamental operations on it (get, set, has, delete, etc.) via handler functions called traps. Reflect provides the default versions of those operations as functions, so traps can forward to the normal behavior cleanly.
js
user = { : };
proxied = (user, {
() {
.();
.(target, key);
},
() {
(key === && value < ) ();
.(target, key, value);
},
});
proxied.;
proxied. = -;
