greg,

Nothing to do with Prototype.  Standard javascript / DOM


> If I do:
> for (m in c) console.log(m)
> I get a nice list of all variables and methods, but typeof m always
> returns 'string'.

for (a in b)
always sets 'a' to be a string.  It is the 'name' of the property in
'b'.

Try console.log(typeof c.m)

--
Phil

-- 
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-scriptaculous@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