Within my script I'd like to get a list of methods defined within in a
class created with Class.create().

If I do:
var c = new MyShinyNewClass()
I get a nice breakdown of variables and methods, and firebug
differentiates the vars from the functions.

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'.

Given that firebug can differentiate between a variable and function,
is there any way for me to do the same?


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 
For more options, visit this group at 

Reply via email to