Proxy objects and collection
quae at daurnimator.com
Tue Sep 2 11:57:58 PDT 2014
On 2 September 2014 14:41, Brendan Eich <brendan at mozilla.org> wrote:
> Daurnimator wrote:
>> So, I'd like to see some sort of "trap" that is fired when a Proxy is
>> I propose that the trap *may* only be called at some *undefined* point
>> after the object is not strongly referenced.
> What would you need in the way of an argument to be passed to the trap, at
> this later point?
I'd imagine the proxy itself (which would be `this`).
The trap would not need to return anything.
There might be an argument here for some sort of object id instead of the
proxy itself, to avoid resurrection?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss