summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1666856.js
blob: ea6e6942d210542eb3a14d42680e3e1b8e4e7d30 (plain)
1
2
3
4
5
6
7
8
// |jit-test| skip-if: !this.oomTest

let i = 10000;
oomTest(() => {
  let arr = [];
  arr[i++] = 1;
  for (var key in arr) {}
});