michael@0: michael@0: function f(code) { michael@0: g = eval("(function(){" + code + "})"); michael@0: g() michael@0: } michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: f(); michael@0: try { f("function x(){}(x())"); } catch (e) {} michael@0: michael@0: function f2() { michael@0: a = { michael@0: x michael@0: } = x, (x._) michael@0: function michael@0: x()({}) michael@0: } michael@0: try { f2(); } catch (e) {} michael@0: michael@0: function f3() { michael@0: var x = 0; michael@0: with ({}) { x = 'three'; } michael@0: return x; michael@0: } michael@0: f3();