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();小白搞不懂了,求大神告知这里输出什么,为什么?
添加回答
举报
0/150
提交
取消