Peter Hall wrote:
> >  The latter. It is weird, I agree. But the enumerator can easily be
> >  customized, so I want the default enumerator be as non-magical as
> >  possible - and therefore, as simple as possible. In fact, I'm a bit
> >  bothered that propertyIsEnumerable is a method of Object yet can be
> >  rendered useless when changing the enumerator - along this line of
> >  reasoning, one would think that such a specific method shouldn't be a
> >  method of Object at all, but rather the enumerator itself.
> >
>
> So how would you go about enumerating the properties of an arbitrary
> dynamic object, whose properties could be in namespaces?
>   

I thought there was an iterator that would enumerate all properties 
regardless of enumerability (including those in other namespaces), but 
apparently not. There should be such an iterator though.

> >  Yeah, I vaguely remember some discussion concerning multiple namespaces
> >  per property a long time ago (maybe a year ago). It was rejected
> >  probably due to complexity.
>
> Not being able to combine them effectively makes many of the initial
> proposal's use-cases useless, because two use-cases may arise
> simultaneously when integrating two codebases, and be irreparably
> conflicting.
>
> Peter
>   

What "initial proposal" are you talking about?

-Yuh-Ruey
_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to