1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// This just tests that named lambdas don't crash in the tracer. var f = function ff() { var k = 0; var counter = function q() { return ++k; } return counter; } function g() { for (var i = 0; i < 10; ++i) { f(); } } g();