summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1390082-2.js
blob: 40283ce89610637e3405776970eda97d8840e8e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Object.prototype.set = function () {};
let f = async function* () {
    yield;
};
let x = f();
x.next();
x.next().then(function () {
    x.next();
});
Object.defineProperty(Array.prototype, "0", {
    get: function () {
        return 1;
    }
});