Sign in
webkit
/
WebKit
/
87a7a7c1c7f13f5553e380a9e21b89f73f375cdc
/
.
/
JSTests
/
stress
/
get-array-length-undecided.js
blob: 2ea39436478fca5661e4b441013da0cfc7760bb9 [
file
] [
log
] [
blame
]
function
test
(
array
)
{
return
array
.
length
;
}
noInline
(
test
);
let array
=
new
Array
(
10
);
for
(
let i
=
0
;
i
<
10000
;
i
++)
{
if
(
test
(
array
)
!==
10
)
throw
new
Error
(
"bad result"
);
}