Subj : Re: Enumerating standard class properties & methods To : netscape.public.mozilla.jseng From : "Sterling Bates" Date : Wed Dec 17 2003 12:10 pm "Brendan Eich" wrote in message news:3FE0A5C1.20205@meer.net... > Sterling Bates wrote: > > > Just to press the point, though, none of the implementations are strictly > > equivalent to the ECMA spec. > > What do you mean? [...] > spec is bad. There may be a handful of cases where we depart from the > spec for good, well-considered backward compatibility reasons. Those > too are different. I was referring to spec departures in general. I didn't mean to imply that there were no reasons for the departures, I just recalled reading about some. > Enumerating objects with for..in was always meant to skip "built-in" or > "system pre-defined" functions and other properties, enumerating only > user-defined properties. That's just the way JS is. If you need to > enumerate all properties, you'll have to do something extra. That's cool. Do you know of a way to obtain the memory address for a given class declaration (like Date) so I can check it from outside the engine? Sterling .