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