On Aug 2, 3:43 pm, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> Hi,
>
> > I found that array looping method online, I guess I will remove that
> > page from my bookmarks.
>
> Yes, it's an extremely common misconception.

What, that for..in iterates over an object's properties? It's per
ECMA-262. There are strategies for dealing with properties on an
array's internal prototype chain so that for..in works just fine, even
when it's built-in prototype has been modified.


--
Rob

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to