michael@0: function g() { michael@0: z = newGlobal(''); michael@0: return function(code) { michael@0: evalcx(code, z) michael@0: } michael@0: } michael@0: f = g(); michael@0: f("\ michael@0: options('strict_mode');\ michael@0: for (var x = 0; x < 1; ++x) {\ michael@0: a = x;\ michael@0: }\ michael@0: options('strict_mode');\ michael@0: "); michael@0: f("a in eval"); michael@0: