相关考题
-
单项选择题
在JavaScript的某些情况下()语句可以代替多重if语句。
A.if…else
B.for
C.while
D.switch…..case -
单项选择题
在JavaScript中,可以使用Date对象的()方法返回该对象的日期。
A.getDate
B.getYear
C.getMonth
D.gerTime -
单项选择题
在HTML中,为了在页面中输出当前页面的URL的地址,下面Javascript语句正确的是()
A.document.write(document.location)
B.document.write(document.title)
C.document.write(document.body)
D.document.write(document.links)
