1. 下面的代码输出什么?
var a = 10;
(function () {console.log(a)
a = 5
console.log(window.a)
var a = 20;
console.log(a)
})()
1. 下面的代码输出什么?
var a = 10;
(function () {console.log(a)
a = 5
console.log(window.a)
var a = 20;
console.log(a)
})()