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();