> 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 <[EMAIL PROTECTED]> 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 _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
