blob: 697a39c50c0d365389c088a6c9cda2943443cbdb (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |jit-test| skip-if: !('oomTest' in this)
oomTest(new Function(`
var a = ['p', 'q', 'r', 's', 't'];
var o = {p:1, q:2, r:3, s:4, t:5};
for (var i in o)
delete o[i];
for (var i of a)
o.hasOwnProperty(undefined + this, false);
`));
|