3 for (var i
= 0; i
< a
.length
; ++i
) {
5 result
^= "foo" in a
[i
];
11 var array
= [{foo
:42}, {bar
:42}, {fuzz
:41, foo
:43}, {baz
: 47}];
13 for (var i
= 0; i
< 1000000; ++i
)
19 if (result
!= 10000000)
20 throw "Bad result: " + result
;