Proxies as prototypes

Axel Rauschmayer axel at
Sat Nov 22 22:41:51 PST 2014

I’d expect the following code to log `GET bla`, but it currently doesn’t in Firefox. That’s because the Firefox implementation of proxies isn’t finished yet, right?

var proto = new Proxy({}, {
  get: function(target, propertyKey, receiver) {
    console.log('GET '+propertyKey);
    return target[propertyKey];

var obj = Object.create(proto);

Dr. Axel Rauschmayer
axel at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list