summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1880870.js
blob: e9bffc92959c51004e67efc93c74e8f10251b7c0 (plain)
1
2
3
4
5
6
var x = [];
function f() {
  Object.entries(x);
  Object.defineProperty(x, "", { enumerable: true, get: f });
}
oomTest(f);