Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
microbenchmarks
/
for-in-string-array.js
blob: 67274fbc13902a691a228ee7fc63f7502eb8a8ac [
file
] [
log
] [
blame
] [
edit
]
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"
));