单项选择题
打开名为 "window2" 的新窗口的 JavaScript 语法是?()
A. open.new("http://www.w3school.com.cn","window2")
B. new.window("http://www.w3school.com.cn","window2")
C. new("http://www.w3school.com.cn","window2")
D. window.open("http://www.w3school.com.cn","window2")
点击查看答案&解析
相关考题
-
单项选择题
如何求得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-->
