Swatinem / proxy

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

made call trap optional as well, fixes #2 #3

Closed neico closed 9 years ago

neico commented 9 years ago

As per @Swatinem's request, here's the PR.

Sadly I'm horrible with writing tests as of now, or at least fail to come up with a decent one for this, any code snippet for that is welcome.

That or I'll just leave it up to @Swatinem to commit one, if he thinks a special test is needed...