javascriptvisualizer
javascriptvisualizer copied to clipboard
nesting closures on repeated function calls.
function foo(){
function bar(){
return true;
}
return bar();
}
foo();
foo();
foo();
When the above is run, each new invocation of foo is displayed as existing within the closure formed by the previous invocation.

Thanks!