Sign in
webkit
/
WebKit
/
34f5efbbe2903324708c7d6f83220e30b3f6ddd8
/
.
/
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
{
}