Sign in
webkit
/
WebKit
/
6ddf72b170615ecec95a6e91c205227cc12d556b
/
.
/
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
);