Sign in
webkit
/
WebKit
/
36168652e4948b4e847a9c1caf1fabcf1810968f
/
.
/
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"
;
}