Sign in
webkit
/
WebKit
/
49c45f529348e27f11122daecbee33e4fa730919
/
.
/
JSTests
/
microbenchmarks
/
for-in-int32-array.js
blob: 92ae5c1b425894660d969835e4f4cd6a81eed510 [
file
] [
log
] [
blame
]
var
count
=
0
;
function
test
(
object
)
{
sum
=
0
;
for
(
var
i in object
)
sum
+=
object
[
i
];
return
sum
;
}
noInline
(
test
);
var
array
=
new
Array
(
100
);
array
.
fill
(
1
);
for
(
let i
=
0
;
i
<
1e5
;
++
i
)
test
(
array
);