summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/dictionary-add-prop-oom.js
blob: 10e09ed06f40d7dbb9ac1ed826b26631b0206000 (plain)
1
2
3
4
5
6
7
8
enableShapeConsistencyChecks();
oomTest(() => {
  var obj = {a: 1, b: 2, c: 3};
  delete obj.a;
  for (var i = 0; i < 100; i++) {
    obj["x" + i] = i;
  }
});