預(yù)測以下代碼片段的輸出結(jié)果:() var student = new Object(); student.study = function() {window.alert(“開始學(xué)習(xí)了”); } study();
關(guān)于以下兩個陳述的描述中,正確的是:() 陳述 1:window 對象的 confirm 方法用于顯示一個包括相關(guān)信息以及 Yes 和 No 這兩個按鈕的對話框。 陳述 2:window 對象的 alert 方法用于彈出一個提示窗口,顯示提示信息。