On Tuesday 08 September 2009 16:18:20 T.J. Crowder wrote:
> @Jim,
> > Ie, Class.create takes any number of objects of functions or functions.
> > If functions, the function name is used.
> I see where you're coming from, but FWIW I'm with Allen on this one.
> Also, there's no standard way to get the name of a function until
> ECMAScript5 (which standardizes the truly outrageous idea that
> function instances should have -- gasp! -- a "name" property), and at
> the moment although Firefox 3.5, Chrome 2, and Safari 4 all already
> have that property, IE7 (at least, haven't tested IE8) and Opera10 do
> not.

I have a hunch we could get function names in the same way that we implement 
Function#argumentNames. A regex on the toString.

my wiki ajaxification thing: http://wikizzle.org
my blog: http://jimhigson.blogspot.com/

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to