Sign in
webkit
/
WebKit
/
e5474a94048a955c0042149e8ac8a8d40148ea9a
/
.
/
JSTests
/
stress
/
get-array-length-reuse.js
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
{
}