Subj : Enumeration of extended properties of Array and Object prototypes To : netscape.public.mozilla.jseng From : Chris Zumbrunn Date : Fri Mar 19 2004 04:19 pm I understand that in accordance with the ECMA specs both Spidermonkey and Rhino make that additional methods added to Objects are enumerated in Javascript for/in loops. I know that changing this in the specs for Javascript 2.0 has been suggested but I don't know if this is now part of the JS 2.0 proposal or if it is being considered. Are there good reasons not to change this behavior? Also, for the time being... Would it be hard to patch Rhino so that additions to the Array and Object prototypes would not get enumerated? Has anybody already attempted or done this? -- Chris Zumbrunn -- chris@deployzone.com -- +41 329 41 41 41 -- http://www.deployzone.com/ -- Chris Zumbrunn chris@deployzone.com +41 329 41 41 41 http://www.deployzone.com/ - Reduced to the Maximum! .