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