Sign in
webkit
/
WebKit
/
9f4898815212c3069305f0eb8e79728e1e77a82a
/
.
/
JSTests
/
microbenchmarks
/
new-array-push.js
blob: 9944aa571448ab0761b0d305df393a165bafc75e [
file
] [
log
] [
blame
]
//@ runNoFTL
function
foo
()
{
return
new
Array
();
}
var
arrays
=
[];
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
arrays
.
push
(
foo
());
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
if
(
arrays
[
i
].
length
!=
0
)
throw
"Error"
;
}