summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1390082-1.js
blob: 7b583f3a486a4ff87ff3bd897df930ad1a80775d (plain)
1
2
3
4
5
6
7
8
9
10
Object.defineProperty(Array.prototype, "2", {
    set: function () {}
});
async function* f() {
    yield {};
}
var x = f();
x.next();
x.next();
x.next();