单项选择题
var str=null,result;
if(str){result="hello"}else{result="no"};
console.log(result);运行结果是()
A.hello
B.no
C.undefined
D.程序报错
点击查看答案

单项选择题
var str=null,result;
if(str){result="hello"}else{result="no"};
console.log(result);运行结果是()
A.hello
B.no
C.undefined
D.程序报错
微信扫一扫,加关注免费搜题