Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
tests
/
ecma
/
Array
/
array-length-set-during-for-in.js
blob: 83d476f7f94d0f177990592428720954fcc3e559 [
file
] [
log
] [
blame
]
var
a
=
[
0
,
1
];
var
iterations
=
0
;
for
(
var
k in a
)
{
iterations
++;
a
.
length
=
1
;
}
assertEq
(
iterations
,
1
);
if
(
typeof
reportCompare
===
"function"
)
reportCompare
(
true
,
true
);