1 2 3 4 5 6 7 8 9 10 11 12 13 14
function g() { z = newGlobal(''); return function(code) { evalcx(code, z) } } f = g(); f("\ for (var x = 0; x < 1; ++x) {\ a = x;\ }\ "); f("a in eval");