单项选择题
如何求得2和4中最大的数?()
A. Math.ceil(2,4)
B. Math.max(2,4)
C. ceil(2,4)
D. top(2,4)
点击查看答案&解析
相关考题
-
单项选择题
如何把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
