javascript - Does Internet Explorer support arguments.callee.name? -
javascript - Does Internet Explorer support arguments.callee.name? -
i know can name of current running function using
arguments.callee.caller.name
but not work in internet explorer (any version). what's right cross-browser syntax? workaround exist?
apart fact arguments.callee
beingness phased out , absent in ecmascript 5 strict mode, main issue function
objects in ie not have name
property. implemented in browsers, notably firefox , recent webkit-based browsers, non-standard, , indeed there no standardized way hold of function name.
the alternative leaves trying parse name function's string representation, not idea. there's (long) give-and-take here it: http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/b85dfb2f2006c9f0.
javascript jquery javascript-events cross-browser mootools
Comments
Post a Comment