4 ms·
Minor FYI: for this who want to play with Proxies right now, you can use a recent-ish copy of node invoked with node --harmony_proxies Enjoy!
by tlack 14y ago
Minor FYI: for this who want to play with Proxies right now, you can use a recent-ish copy of node invoked with
node --harmony_proxies
Enjoy!
- pygy_ 14y agoActually, V8 implements an older version of the spec. You can get a polyfill created by the designer of the Proxy spec here: https://github.com/tvcutsem/harmony-reflect https://github.com/tvcutsem/harmony-reflect It requires `node --harmony` (actually only Harmony Proxies and Harmony WeakMaps, but the rest doesn't hurt.)