Subj : Re: Enumerating standard class properties & methods To : Sterling Bates From : Brendan Eich Date : Wed Dec 17 2003 12:42 pm Sterling Bates wrote: > > It sounds like that would be used on a wrapper for the Date class. The > functionality I'm attempting to emulate is a JS_Enumerate call on a > Date-classed object. Rather than simply calling JS_Enumerate, however, I'll > first determine whether the object's class is standard. If so, I return the > stored list of functions (I may have to change the list for different js > versions) for that class, otherwise call JS_Enumerate. The bridge's user > won't need to know the origin, just receive the array of string values. So, you'll hardcode all the properties of standard classes and their prototypes? Why do this? JS does not. Its reflection via your bridge in O.P. shouldn't either, IMO. /be .