Swatinem / proxy

Small shim providing `new Proxy(target, handler)`
13 stars 5 forks source link

fix ownKeys trap #7

Open jimmywarting opened 8 years ago

jimmywarting commented 8 years ago

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/ownKeys

Can't do Object.keys(new Proxy({}, {}))

Swatinem commented 8 years ago

I am willing to merge a PR if you submit one, otherwise I’m not really maintaining this anymore. Best bet is to just wait for native support that should hopefully come with the next major node.