单项选择题
可插入多行注释的 JavaScript 语法是?()
A. /*This comment has more than one line*/
B. //This comment has more than one line//
C. <!--This comment has more than one line-->
点击查看答案
相关考题
-
单项选择题
如何在JavaScript中添加注释?()
A. ' This is a comment
B. <!--This is a comment-->
C. //This is a comment -
单项选择题
for循环如何开始?()
A. for (i <= 5; i++)
B. for (i = 0; i <= 5; i++)
C. for (i = 0; i <= 5)
D. for i = 1 to 5 -
单项选择题
在JavaScript中,有多少种不同类型的循环?()
A. 两种,for 循环和 while 循环
B. 四种,for 循环、while 循环、do...while 循环以及 loop...until 循环
C. 一种,for 循环
