Expand description
The Proxy constructor and Proxy.revocable.
Almost nothing lives here: Proxy is a constructor whose only job is to build a
crate::object::ObjectKind::Proxy, and every trap is dispatched from
Interp’s internal-method layer. The two things this module does own are the checks
that happen at construction — a target must be an object and a handler must not be
null — and revocable, which is the only way a script can take a proxy apart.
Functions§
- install
- Install
Proxyon the realm’s global object.