JavaScript Proxy Object

The Proxy object is a new feature of ES6 which is looks to be super useful and promising.

I was working on a new Javascript for Automation (JXA) project and came across the npm module called jxa. jxa uses the Proxy object to pipe commands to OSX's osascript executable. You should poke around the source, it's quite neat.

If you want to learn more about Proxy, check out this article from Mozilla and this article from MSDN.

Note, the Proxy object cannot be shimmed by Babel and browser support is not universal.