summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1790543.js
blob: 1fb70c9d0055a06b37c013a6bc03ec1492de8eb2 (plain)
1
2
3
4
5
6
7
Array.prototype[0] = 0;

var a = [];
for (var i = 0; i < 10_000; ++i)
  a.push(0);

assertEq(a.length, 10_000);