Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testNestedForIn.js
blob: 1541775f87d49848a6928b7ebbd0a007bc98647a [
file
] [
log
] [
blame
]
function
testNestedForIn
()
{
var
a
=
{
x
:
1
,
y
:
2
,
z
:
3
};
var
s
=
''
;
for
(
var
p1 in a
)
for
(
var
p2 in a
)
s
+=
p1
+
p2
+
' '
;
return
s
;
}
assertEq
(
testNestedForIn
(),
'xx xy xz yx yy yz zx zy zz '
);