Source code
Revision control
Copy as Markdown
Other Tools
function* gen()
{
var local = new Date();
yield 1;
local = null;
gc();
gcslice(0); // Start IGC, but don't mark anything.
yield 2;
}
var g = gen();
g.next();
g.next();
gcslice();