单项选择题
for(var i=0;i<=4;i+=2){ console.log(i); }打印结果是()
A.0 2 4 B.4 2 0 C.0 1 2 3 4 D.4 0 2
for(var i=1;i<=12;i+=3){ console.log(i); }打印结果是()A.1,4,...
for(var i=1;i<=12;i+=3){ console.log(i); }打印结果是()
A.1,4,7,10 B.1,4,7,10,12 C.1,2,3,4,5,6,7,8,9,10,11,12 D.1,3,6,9,12
var userName, type = ""; if (typeof(userName) === "unde...
var userName, type = ""; if (typeof(userName) === "undefined") { type = "boolean"; } else if (typeof(userName) === "string" || typeof(userName) === "number") { type = "string" } else { type = "object" } console.log(type); 打印结果是()
A.boolean B.number C.string D.object
var id = "023";if(typeof(id)==="number"){alert("编号用户");...
单项选择题var id = "023";if(typeof(id)==="number"){alert("编号用户");}else if(typeof(id)==="string"){alert("随机用户")}else{alert("临时用户")}以上代码的弹出结果是()
A.编号用户 B.随机用户 C.临时用户 D.undefined