michael@0: what = 0; michael@0: michael@0: function f(x) { michael@0: g(x); michael@0: } michael@0: michael@0: function g(x) { michael@0: eval("what = true"); michael@0: } michael@0: michael@0: f(10); michael@0: assertEq(what, true);