var value = 1;function foo(){ console.log(value);}function bar(){ var value = 2; foo();}bar(); 查看完整描述