單項選擇題
在瀏覽器全局環(huán)境中,以下代碼中的輸出結果分別是?()
A.undefined,18,20,18
B.18,20,18,20
C.18,20,20,20
D.18,20,18,undefined
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題獲取當前網(wǎng)頁的域名,以下方法正確的是?()
A.window.domain
B.location.domain
C.document.domain
2.單項選擇題獲取瀏覽器客戶端的userAgent,以下方法正確的是?()
A.window.userAgent
B.history.userAgent
C.document.userAgent
D.navigator.userAgent