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