單項選擇題如何在瀏覽器的狀態(tài)欄放入一條消息:()。

A.statusbar = "put your message here"
B.window.status = "put your message here"
C.window.status("put your message here")
D.status("put your message here")


您可能感興趣的試卷

你可能感興趣的試題

2.單項選擇題與image對象不相關的事件處理是下列哪項:()。

A.onError
B.onMouseOut
C.onLoad
D.onOpen

3.單項選擇題以下哪個選項中的方法全部屬于window對象:()

A.alert;clear;close
B.clear;close;open
C.alert;close;confirm
D.alert;setTimeout;write

4.單項選擇題在JavaScript中,下列哪段代碼能夠在1秒之后執(zhí)行表達式expression?()

A.window.setTimeout(1000,expression);
B.window.setTimeout(expression,1);
C.window.setTimeout(1,expression);
D.window.setTimeout(expression,1000);

5.單項選擇題Javascript是如何實現(xiàn)繼承的?()

A.創(chuàng)建父類對象作為子類的原型(prototype)
B.使用 extends 關鍵子繼承父類
C.創(chuàng)建子類對象作為父類的原型(prototype)
D.使用 class 關鍵子繼承父類