Stackoverflow 解法:http://stackoverflow.com/questions/280389/how-do-you-find-out-the-caller-function-in-javascript
程式碼:
function Hello()
{
alert("caller is " + arguments.callee.caller.toString());
}
文章標籤
全站熱搜
Stackoverflow 解法:http://stackoverflow.com/questions/280389/how-do-you-find-out-the-caller-function-in-javascript
程式碼:
function Hello()
{
alert("caller is " + arguments.callee.caller.toString());
}

長島冰茶的工程師筆記
