michael@0: // Test no assert (bug 464089) michael@0: function shortRecursiveLoop(b, c) { michael@0: for (var i = 0; i < c; i++) { michael@0: if (b) michael@0: shortRecursiveLoop(c - 1); michael@0: } michael@0: } michael@0: function testClosingRecursion() { michael@0: shortRecursiveLoop(false, 1); michael@0: shortRecursiveLoop(true, 3); michael@0: return true; michael@0: } michael@0: assertEq(testClosingRecursion(), true);