Sign in
webkit
/
WebKit
/
919aeb989a73073e2f1d75e53d7d882b3cc61ca8
/
.
/
JSTests
/
microbenchmarks
/
for-in-int32-array-with-own-named.js
blob: 4e2ddbd2f05db4ecce9fd9ba4569f6b0624aa137 [
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
);
o
.
a
=
0
;
o
.
b
=
2
;
test
(
o
);
}