summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug656259.js
blob: 35de2172657e86c6d7eceba87908a2baa5386332 (plain)
1
2
3
4
5
6
7
8
9
10
11
function throwsRangeError(t) {
    try {
        t: for (t[t++] in object) {
            t++
            break t;
        }
        date(t)
    } catch (err) {}
}
throwsRangeError(Infinity);