Forgive me that I've not kept track of where we are in the discussion about the additional receiver argument.
I think I just found a pretty important use case for the receiver argument. Say you want to keep some information about a proxy object in a Map or a WeakMap, and you want the handler to be able to access that information. Then you're going to need the proxy object to do it. I suppose you can close over the proxy value: var proxy; var handler = { ... proxy ... }; proxy = Proxy.create(handler); But then you have to make a fresh handler for each instance. Dave _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss