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