[[Extensible]]and Proxies (Was: Proxy.isProxy )
brendan at mozilla.com
Sun Jul 17 18:03:38 PDT 2011
On Jul 17, 2011, at 6:01 PM, Brendan Eich wrote:
> See my previous reply, about fixed properties, the fix trap, controlling the [[Class]] of the object the proxy "becomes" upon fixing, and preserving the (preventExtensions, seal, freeze) distinction when fixing.
Here's a possibly dumb question: why not have fix return not a pdmap for the new Object instance to be fixed at those properties, rather an object (of any class) to be fixed by the exact cause of the fix trap: preventExtensions, seal, or freeze?
More information about the es-discuss