4 ms·
The post links to an outdated Proxy spec. Here's the right link: http://wiki.ecmascript.org/doku.php?id=harmony:direct_proxies http://wiki.ecmascript.org/doku.p
by heydenberk 15y ago
The post links to an outdated Proxy spec. Here's the right link: http://wiki.ecmascript.org/doku.php?id=harmony:direct_proxies http://wiki.ecmascript.org/doku.php?id=harmony:direct_proxie...
- heydenberk 15y agoAlso, this is a great paper posted on ES-discuss about Proxies: https://mail.mozilla.org/pipermail/es-discuss/attachments/20120208/e3f5075b/attachment-0001.pdf https://mail.mozilla.org/pipermail/es-discuss/attachments/20...
- laktek 15y agoIt seems Chrome actually implements the old proxy API, not the new direct proxy API. It has the old Proxy.create() instead of Proxy.for(), which is the way to define a proxy as per direct proxy API. So if anyone wants to implement proxies in current Chrome, they have to refer to the old proxy API (which is why they have linked to it).