var a = 3;
function abc(a) {
console.log(a);//undefined
var a=10;
console.log(a);//10
}
abc();
console.log("a");//a
console.log(a);//3
var a = 3;
function abc(a) {
console.log(a);//undefined
var a=10;
console.log(a);//10
}
abc();
console.log("a");//a
console.log(a);//3