summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/ion/bug1201850.js
blob: 4bb67c72b5c6e707364f86ddc8018d84ec3e17c5 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error: too much recursion
var tokenCodes = {
    get finally() {
        if (tokenCodes[arr[i]] !== i) {}
    }
};
var arr = ['finally'];
for (var i = 0; i < arr.length; i++) {
    if (tokenCodes[arr[i]] !== i) {}
}