pmuellr at gmail.com
Thu Oct 25 22:28:29 PDT 2012
On Thu, Oct 25, 2012 at 8:20 PM, John J Barton
<johnjbarton at johnjbarton.com>wrote:
> On Thu, Oct 25, 2012 at 4:16 PM, Isaac Schlueter <i at izs.me> wrote:
> > It'd be really nice if JS had a way to explicitly delete an object.
> I guess you mean ... a way to set all the refs to a object to undefined.
Isaac's `free` sounds like Smalltalk's one-way `become: nil`:
Probably not the best idea to be using this in production code. For
debugging though, AWESOME. And once we have classes, `allInstances()` will
be nice as well. :-)
Wondering if, for node.js anyway, you could use the V8 HeapSnapshot to find
Didn't proxies have some way of doing a become: and freezing themselves as
a new object? Maybe that was the older Proxy stuff, didn't see it in the
current drafts. But did see "Revokable Proxies", which sounds like it
might fit the bill, though you'd have to arrange to proxy the sketchy
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss