blob: 126794a0d27fd0d080180fd54e267159d2c3a93d [file] [log] [blame]
//@ skip if $memoryLimited
function foo(a) {
arguments;
a.length;
}
let x = new Uint8Array();
for (let i = 0; i < 10000; ++i)
foo(x);
try {
foo(new Uint8Array(2**31));
} catch { }