can an actionscript function find out its own name?

前端 未结 7 997
借酒劲吻你
借酒劲吻你 2020-12-16 01:06

given the following

function A(b:Function)   { }

If function A(), can we determine the name of the function being passed in as parameter \'

7条回答
  •  时光说笑
    2020-12-16 01:23

    I don't know if it helps, but can get a reference to the caller of the function which arguments (as far as I know just in ActionScript 3).

提交回复
热议问题