summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1113980.js
blob: d975c5d8d13695aeba302e5df277a3a12eb76270 (plain)
1
2
3
4
5
6
7
8
9
10
var p = new Proxy({}, {
    getOwnPropertyDescriptor: function() {
        return {value: 1, configurable: true, writable: true};
    },
    defineProperty: function() {
    }
}, null);

var o = Object.create(p);
o.a = 1;