summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug797496.js
blob: d8bc1897c5432635c9d7dde3e189ab2e8d77e7e1 (plain)
1
2
3
4
5
6
7
8
// |jit-test| error: TypeError
var set = new Set(['a']);
var n = 5;
for (let v of set) {
    if (n === 0)
        break;
    let g = set(new Set(0xffffffff, n), 1);
}