相关考题
-
单项选择题
如何把7.25四舍五入为最接近的整数?()
A. round(7.25)
B. rnd(7.25)
C. Math.rnd(7.25)
D. Math.round(7.25) -
单项选择题
可插入多行注释的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
