michael@0: function foo() { michael@0: bar(1,2,3,4,5,6,7,8,9); michael@0: } michael@0: michael@0: function bar() { michael@0: foo(1,2,3,4,5,6,7,8,9); michael@0: } michael@0: michael@0: var caught = false; michael@0: try { michael@0: foo(); michael@0: } catch (e) { michael@0: caught = true; michael@0: } michael@0: assertEq(caught, true);