Re: [DOM4] Question about collections versus maps

On 4/10/12 4:13 PM, Tab Atkins Jr. wrote:
> According to current WebIDL spec, an object with a named property
> getter exposes the list of names as own properties, so you can get
> them with for-in enumeration.

1)  for-in enumeration enumerates prototype properties.
2)  for-in enumeration enumerates expandos which might have nothing to
     do with the set of named properties.

-Boris

Received on Tuesday, 10 April 2012 20:17:27 UTC