Sign in
webkit
/
WebKit
/
f6a2db0b6ffa1cbc502926e8c3265b2be2346307
/
.
/
JSTests
/
microbenchmarks
/
for-in-string-array.js
blob: 67274fbc13902a691a228ee7fc63f7502eb8a8ac [
file
] [
log
] [
blame
]
function
test
(
object
)
{
sum
=
""
;
for
(
var
i in object
)
sum
+=
object
[
i
];
return
sum
;
}
noInline
(
test
);
for
(
let i
=
0
;
i
<
1e5
;
++
i
)
test
(
Array
(
100
).
fill
(
"a"
));