单项选择题
function test() { var a = 100 } test() console.log(a) 输出结果? ()
A.100 B.报错
function test(){ console.log(true); } if (t...
function test(){ console.log(true); } if (test()) { alert("111"); } else { alert("222"); } 请问输出结果()
A.111 B.222
function foo(){ var a = 7; console....
function foo(){ var a = 7; console.log(a); } var a = foo(); 变量a的值是()
A.undefined B.7
function test(){ console.log(true); } 函数的返回...
function test(){ console.log(true); } 函数的返回值是()
A.undefined B.true