michael@0: function testNestedForIn() { michael@0: var a = {x: 1, y: 2, z: 3}; michael@0: var s = ''; michael@0: for (var p1 in a) michael@0: for (var p2 in a) michael@0: s += p1 + p2 + ' '; michael@0: return s; michael@0: } michael@0: assertEq(testNestedForIn(), 'xx xy xz yx yy yz zx zy zz ');