1<! DOCTYPE html>234<meta charset= "UTF-8" >5<title>Title</title>6<script>7 8 /*callee*/9 Ten functionfn (CANSHU1,CANSHU2) { OneConsole.log (canshu1 = = = Arguments[0]); AConsole.log ("Arguments", arguments); - functionfn2 () { -Console.log ("* * * *"); theConsole.log ("Arguments[0].callee"); -Console.log (Arguments.callee = = =fn2); - } - returnfn2; + } - + //Console.log () A //1. If a DOM object/Tag node is encountered, the function will be directly output at //2. Hitting the function equals - //Console.log (FN); - //Console.log (document); - //Console.dir (FN); - - varres = FN (); in Console.dir (res); -Console.dir (FN ()()); to + - the /*Caller*/ * $ functionFnout (inname) {Panax NotoginsengConsole.log ("--fnout.caller---"); -Console.log (Fnout.caller = = =fnin); the returninname; + } A the functionFnin () { + varInname = "I am Fnin's name"; - fnout (inname); $ } $ - Console.log (Fnin ()); -</script> the -<body>Wuyi the</body> - javascript--the properties of the function object caller and callee