michael@0: function testOwnPropertyWithInOperator() michael@0: { michael@0: var o = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6 }; michael@0: var a = []; michael@0: for (var i = 0; i < 7; i++) michael@0: a.push(i in o); michael@0: return a.join(","); michael@0: } michael@0: assertEq(testOwnPropertyWithInOperator(), "true,true,true,true,true,true,true");