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