summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1666856.js
blob: 50d8505eb6c8c3ab28cffa10a7f2efc66c881b13 (plain)
1
2
3
4
5
6
let i = 10000;
oomTest(() => {
  let arr = [];
  arr[i++] = 1;
  for (var key in arr) {}
});