summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1057582.js
blob: 05ca5160a23419fdbc66e388dc677bea6553a69c (plain)
1
2
3
4
5
6
7
8
9
10
Object.defineProperty(Object.prototype, "0", {configurable: true});
delete Object.prototype[0];

function makeArray() {
    var arr = [];
    for (var i = 0; i < 10; i++)
        arr.push(true);
    return arr;
}
makeArray();