arguments.callee.name to get function name... does not work?
Posted: 04 October 2015, 12:47
Code: Select all
mafonctionaffichesonnom: function(){
console.log('name:'+arguments.callee.name);
},Code: Select all
self:trace(__function__);What I see ... is that I have to put
Code: Select all
mafonctionaffichesonnom: function mafonctionaffichesonnom(){
console.log('name:'+arguments.callee.name);
},Is there any mean to get the reference name directly?