下面这段代码运行的结果()
<body>
<script language=”JavaScript”>
document.writeln(“文档最后修改于”+document.lastModified);
var lastModObj=new Date(document. lastModified);
alert(lastModObj.getMinutes());
</script>
</body>
A. 弹出一个对象框
B. 没有任何输出
C. 在文档中显示文档最后修改的时间
D. 在对话框中显示文档最后修改的时间
您可能感兴趣的试卷
你可能感兴趣的试题
A.createElement
B.getElementById
C.getElementByName
D.forms.length
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")
A.open.new("http://www.w3schools.com","window2")
B.window.open("http://www.w3schools.com","window2")
C.new("http://www.w3schools.com","window2")
D.new.window("http://www.w3schools.com","window2")
A.Math.ceil(2,4)
B.Math.max(2,4)
C.ceil(2,4)
D.top(2,4)
A.var txt = new Array="tim","kim","jim"
B.var txt = new Array(1:"tim",2:"kim",3:"jim")
C.var txt = new Array("tim","kim","jim")
D.var txt = new Array:1=("tim")2=("kim")3=("jim")
A.' This is a comment
B.< !--This is a comment-->
C.//This is a comment
A.for (i <= 5; i++)
B.for (i = 0; i <= 5; i++)
C.for (i = 0; i <= 5)
D.for i = 1 to 5
A.if =! 5 then
B.if <>5
C.if (i <> 5)
D.if (i != 5)
A.if (i==5)
B.if i=5 then
C.if i=5
D.if i==5 then
A.function:myFunction()
B.function myFunction()
C.function=myFunction()