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