單項(xiàng)選擇題假設(shè)今天是2006年5月8日星期一,請(qǐng)問下列JavaScript代碼:var time = new Date();document.write(time.getDay());在頁面上的輸出結(jié)果是()

A.2006
B.8
C.5
D.1


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題復(fù)選框失去焦點(diǎn)時(shí)觸發(fā)的事件處理程序是()

A.onClick
B.onFocus
C.onSelect
D.onBlur

2.單項(xiàng)選擇題分析下面的JavaScript語句:str="This apple costs"+50.5;執(zhí)行后str的結(jié)果是()

A.This apple costs 50.5
B.This apple costs 5.5
C."This apple costs" 50.5
D."This apple costs" 5.5