Sign in
webkit
/
WebKit
/
a9c91ce2c5aea1dcbb1791839037fd37c48643d1
/
.
/
JSTests
/
microbenchmarks
/
for-in-int32-object-with-own-named.js
blob: 7570fd0f516dcd5755b3f2eb969c989b515d76c4 [
file
] [
log
] [
blame
]
function
test
(
object
)
{
sum
=
0
;
for
(
var
i in object
)
{
var
v
=
object
[
i
];
sum
+=
v
;
}
return
sum
;
}
noInline
(
test
);
for
(
let i
=
0
;
i
<
1e5
;
++
i
)
{
var
o
=
{
length
:
100
};
Array
.
prototype
.
fill
.
call
(
o
,
1
);
o
.
a
=
0
;
o
.
b
=
2
;
test
(
o
);
}