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