标签:io ar sp on cti bs ef nbsp js
alert(a); //function a(){...}
a();
var a=1;
function a(){
alert(a); //undefined
var a=2;
a2(a);
}
alert(a); //1
var a=3;
function a2(){
alert(a); //function a(){...}
a=4;
alert(a); //4
}
alert(a); //3
标签:io ar sp on cti bs ef nbsp js
原文地址:http://www.cnblogs.com/aiweidong/p/4084691.html