Subj : Re: JS_Enumerate and for/in loop To : Celso Aguiar From : Brendan Eich Date : Mon Jan 13 2003 05:36 pm Celso Aguiar wrote: >Why is it that if I enumerate my native objects via >for/in loop in javascript, prototype properties are >visited, whereas if I do it internally via the C API >JS_Enumerate, I don't get the prototype properties? > Because that's the way those two different things work. >Is this meant to be like this? > Yes. > Maybe there something needed in my object's JSClass... > What's the problem? The situation you describe above is not a problem. /be .