判斷題在JavaScript中,使用單引號(’)標(biāo)記字符常量,而是用雙引號(")標(biāo)記字符串常量。()

您可能感興趣的試卷

你可能感興趣的試題

2.多項選擇題while與do…while的區(qū)別有哪些?()

A.do-while循環(huán)語句,無論循環(huán)條件是否滿足,循環(huán)體至少執(zhí)行一遍
B.第一次條件不滿足時,while循環(huán)一次都不會執(zhí)行
C.while循環(huán)更快
D.沒什么區(qū)別

3.多項選擇題html5在IE幾中兼容性有問題:()

A.IE 6
B.IE 7
C.IE 8
D.IE 9

4.多項選擇題在JavaScript中以下哪個變量名是非法的()。

A._loves1
B.8loves
C.Loves
D.Love@$s

5.多項選擇題vardata=["A","B","C","D"];data.unshift("X");data.push("Y");執(zhí)行上面的代碼,data的結(jié)果錯誤的是()。

A.["A","B","C","D","X","Y"]
B.["Y""A","B","C","D","X"]
C.["X","A","B","C","D","Y"]
D.["X","Y""A","B","C","D"]