summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug1709537.js
blob: 77f3fd1d5cd87db83977d21d5d488f898bf53b87 (plain)
1
2
3
4
5
6
7
8
9
function f() {
    var obj = [];
    for (var count = 20000; count > 15900; count--) {
        obj[count] = 2;
    }
    assertEq(Object.getOwnPropertyNames(obj).length, 4101);
}
gczeal(4);
f();