function test() { console.log(arguments.callee); } test();
function fn1() { console.log(fn1.caller); console.log(arguments.callee.caller); } function fn2() { fn1() } fn2();