Sign in
webkit
/
WebKit
/
919aeb989a73073e2f1d75e53d7d882b3cc61ca8
/
.
/
JSTests
/
microbenchmarks
/
for-in-double-array-with-own-named.js
blob: f58bf43fe5af0ff1d30138ba77e3738047435c95 [
file
] [
log
] [
blame
]
function
test
(
object
)
{
sum
=
0
;
for
(
var
i in object
)
sum
+=
object
[
i
];
return
sum
;
}
noInline
(
test
);
for
(
let i
=
0
;
i
<
1e5
;
++
i
)
{
var
o
=
Array
(
100
).
fill
(
1.123214231
);
o
.
a
=
0
;
o
.
b
=
"surprise string"
;
test
(
o
);
}