W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: [DOM4] Question about collections versus maps

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 10 Apr 2012 16:16:58 -0400
Message-ID: <4F84953A.8000503@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: public-webapps@w3.org
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.

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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:40 UTC