function test(){console.log(arguments);} test('a', 'hoge'); function test2(){console.log(arguments.callee);} test2('a', 'hoge');
結果
["a", "hoge"] test2()
calleeプロパティは再帰呼び出し可能な匿名関数を定義するときに使える
function test(){console.log(arguments);} test('a', 'hoge'); function test2(){console.log(arguments.callee);} test2('a', 'hoge');
結果
["a", "hoge"] test2()
calleeプロパティは再帰呼び出し可能な匿名関数を定義するときに使える