I've got a simple loop that creates and destroys (hopefully) empty objects: http://jsfiddle.net/TgWze/
function Test()
{
}
function generate()
{
for(var i = 0; 1000 > i; ++i)
{
var view = new Test();
delete view;
}
}
The memory profile in Chrome/Safari shows memory-leak like behavior if I keep clicking the link: http://cl.ly/BnCV
Am I missing something?
deletelike that; it's only for deleting properties in an object.