Source code
Revision control
Copy as Markdown
Other Tools
let i = 10000;
oomTest(() => {
let arr = [];
arr[i++] = 1;
for (var key in arr) {}
});
let i = 10000;
oomTest(() => {
let arr = [];
arr[i++] = 1;
for (var key in arr) {}
});