Tom Van Cutsem wrote:
- Proxy.revocable returns a tuple {proxy, revoke}. While more cumbersome to work with (especially in pre-ES6 code without destructuring), this API gets the authority to revoke a proxy exactly right: at proxy birth, only the creator of the proxy holds the right to revoke it. This is infinitely better than a global Proxy.revoke(proxy) method that would allow arbitrary objects to revoke any proxy.
Ok, thanks for this recap. It makes sense, the ocap treatments are working ;-).
/be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

