summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1834038.js
blob: fb7581d3fcc645984dd7eb29283b06f481431fe8 (plain)
1
2
3
4
5
6
7
8
9
function foo() {
  const v4 = [];
  v4[1024] = {};
  v4.splice(0).push(0);
}

for (let v0 = 0; v0 < 1000; v0++) {
    foo();
}