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()); }
留言列表