Subj : Re: for/in loops To : netscape.public.mozilla.jseng From : Brendan Eich Date : Wed May 12 2004 10:48 am Alex Fritze wrote: > Thanks for pointing me to that comment. I think I understand now how > args & vars end up as properties, although I still don't get how > enumerating them is useful - especially now that they are distinct from > function properties from a user perspective. It's purely for backward compatibility. I suspect there are very old scripts that use for..in to enumerate function args and vars, for simple JS-implemented object inspection. /be .