how can function name inside function in javascript?
specifically in dojo, doesn't seem job
arguments.callee.caller
in dojo, if function method of class declared through dojo/_base/declare can through :
arguments.callee.nom
see http://dojotoolkit.org/reference-guide/1.9/dojo/_base/declare.html
every method mixed in dojo/declare() or safemixin() annotated: special property called nom added. contains name of method in question , used inherited() , getinherited() deduce name of superclass method. see safemixin() more details.
Comments
Post a Comment