单项选择题
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
关于wile语句不对的是()A.条件表达是必须有B.语句组必须有C.表达式形式为while(条件表达式){语句...
单项选择题关于wile语句不对的是()
A.条件表达是必须有 B.语句组必须有 C.表达式形式为while(条件表达式){语句组} D.常用于执行重复动作的情况下