michael@0: function deep1(x) { michael@0: if (x > 90) michael@0: return 1; michael@0: return 2; michael@0: } michael@0: function deep2() { michael@0: for (var i = 0; i < 100; ++i) michael@0: deep1(i); michael@0: return "ok"; michael@0: } michael@0: assertEq(deep2(), "ok");