array like objects

Brendan Eich brendan at
Sun Dec 13 00:06:02 PST 2009

On Dec 12, 2009, at 12:36 PM, Mark S. Miller wrote:

> On Sat, Dec 12, 2009 at 12:29 PM, Garrett Smith <dhtmlkitchen at 
> > wrote:
> Object.prototype.propertyIsEnumerable does not consider properties in
> the prototype chain. In effect, propertyIsEnumerable is a test to see
> if an object has *own* property that is also enumerable.
> And just when I was thinking I was finally beginning to understand  
> this language :(. I wonder what other gotchas I'm still missing?


filed by David Flanagan on 2000-10-17. My comment 11 is from  
2000-12-01. This was an ES3 design-by-committee botch, never  
corrected. The spec originated the feature, no browser implemented  
anything like it first. SpiderMonkey tried doing it right as the bug  
shows, but no good deed goes unpunished.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list