summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug836623.js
blob: d0d90dc7805aef4665d47ecebef05c95f050b2dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
x = []
Object.defineProperty(x, 4, {
    configurable: true
})
Array.prototype.pop.call(x)
for (let y = 0; y < 9; ++y) {
    Object.defineProperty(x, 7, {
        configurable: true,
        enumerable: (y != 2),
        writable: true
    })
}