1 2 3 4 5 6 7 8 9 10 11
function deep1(x) { if (x > 90) return 1; return 2; } function deep2() { for (var i = 0; i < 100; ++i) deep1(i); return "ok"; } assertEq(deep2(), "ok");