Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testTypeUnstableForIn.js
blob: 0f6b10be401c2fc2563e87bd784e63169787ef54 [
file
] [
log
] [
blame
]
function
testTypeUnstableForIn
()
{
var
a
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
,
16
];
var
x
=
0
;
for
(
var
i in a
)
{
i
=
parseInt
(
i
);
x
++;
}
return
x
;
}
assertEq
(
testTypeUnstableForIn
(),
16
);