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