Subj : Re: Enumerating standard class properties & methods To : Sterling Bates From : Brendan Eich Date : Wed Dec 17 2003 11:52 am Sterling Bates wrote: > "Brendan Eich" wrote in message > news:3FE0ACA2.6040908@meer.net... > >>Why do you need that? Is this related to enumerating the global object >>to include all [[DontEnum]] properties? > > > Basically, yes. I'll statically store the methods for each standard class, > then detect the class type at runtime using the code you've provided below. > That way the bridge code can enumerate as deep as users need, and the engine > stays compliant :-) Why do you need all the special casing? Why not use JS_ResolveStandardClass? /be .