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