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