François REMY wrote:
±>      var o = {};
±>      var p = new Proxy(o, { get: function(o, p) { return o[p]; } });
±>      o.__proto__ = p;
±
± This does nothing on its own in Firefox, afaict.
± If I then do "o.foo" I get a "too much recursion" exception, as expected.
±
± What is the problem, exactly?

I typed the line one by one in the console, that's why. There must be something 
wrong with the console, then.

Please file a bug.

When I originated __proto__ in SpiderMonkey in the '90s, I added cycle detection. It was prompt.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to