isPropertyEnumerable is going to stay broken?
liorean
liorean at gmail.com
Mon Sep 10 13:21:39 PDT 2007
> On Sep 8, 2007, at 10:06 PM, Garrett Smith wrote:
> > but such functionality in the
> > language seems necessary. How to check enumerable attribute, including
> > the prototype chain?
On 10/09/2007, Brendan Eich <brendan at mozilla.org> wrote:
> Either reflect the __proto__ (read-only, please) property as some
> implementations do, or hardcode the prototype structure and code your
> propertyIsEnumerable tests accordingly.
Would it be possible to add an optional boolean parameter for
searching including the whole prototype chain, so that we get a
mechanism to do this that doesn't depend on implementation specifics
or code structure?
--
David "liorean" Andersson
More information about the Es4-discuss
mailing list