`free` operator

John J Barton johnjbarton at johnjbarton.com
Thu Oct 25 21:25:09 PDT 2012

On Oct 25, 2012 8:42 PM, "Domenic Denicola" <domenic at domenicdenicola.com>

> The new thing this proposal brings to the table is the ability to mark,
from within your code, exactly what object you're worried about the
leakiness of. You also get very understandable error messages for
determining who's using that object. Pouring through the list of retained
objects, trying to find the one you're concerned about by looking through
ambiguous short names or via the profiler's deep tree hierarchy, is not
nearly as straightforward.

But don't you get that by just changing one line to
    var obj = undefined;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121025/60ca3938/attachment.html>

More information about the es-discuss mailing list