summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/self-hosting/bug1816084.js
blob: 9ac6c5f59d51a54f4abcc25371a17e884575af1d (plain)
1
2
3
4
5
6
7
8
9
10
var count = 0;
function f() {
    if (count++ < 10) {
        interruptIf(true);
    }
    assertEq((1).toLocaleString(), "1");
    return true;
}
setInterruptCallback(f);
f();