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