单项选择题
function fun1(){ var a = 200 function fun2(){ console.log(a) } fun2() } fun1() 输出结果()
A.200 B.报错 C.undefined
单项选择题 function test(){ var a = 100 } var a = 200 test() console.log(a) 输出结果()
单项选择题 function test() { var a = 100 } test() console.log(a) 输出结果? ()
单项选择题 function test(){ console.log(true); } if (test()) { alert("111"); } else { alert("222"); } 请问输出结果()