var fn = null;function foo() { var a = 2; function innnerFoo() { console.log(c); console.log(a); } fn = innnerFoo; }function bar() { var c = 100; fn(); } foo(); bar();
小白搞不懂了,求大神告知这里输出什么,为什么?
慕村9548890
相关分类