1 2 3 4 5 6 7 8 9 10 11 12
var a = ''; var b = ''; function foo() { a += 'x'; b = b + a; } with ({}) {} for (var i = 0; i < 50000; i++) { try { foo() } catch {} }