summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1699056.js
blob: cb16a5ffc2b1a3363dd2dddd2cc1eb03d79a4d75 (plain)
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 {}
}