单选题 下列选项中( )用于关闭打开的窗口。

A、 close()
B、 closed
C、 open()
D、 focus()
下载APP答题
由4l***66提供 分享 举报 纠错

相关试题

单选题 请写出以下程序的输出结果: console.log(true==1); console.log(false==''); console.log(true=='true');

A、true,true,true
B、true,true,false
C、true,false,false
D、false,false,false

单选题 下面关于 go()方法描述错误的是( )。

A、当参数值是一个负整数时,表示“后退”指定的页数
B、当参数值是一个正整数时,表示“前进”指定的页数
C、可根据参数的不同设置完成历史记录的任意跳转
D、以上说法都不正确

单选题 请写出以下程序的输出结果 var a = 1,b=2; console.log(a+++b); console.log(a+=b); console.log(a%=b);

A、3,5,1
B、3,4,1
C、2,5,1
D、3,4,0

单选题 定义函数使用的关键字是( )。

A、func
B、var
C、function
D、new

单选题 定义函数使用的关键字是( )。

A、func
B、var
C、function
D、new

单选题 window.document.html可以简写为( )

A、window.html
B、document.html
C、html
D、document

单选题 为代码添加多行注释的语法为( )。

A、/*
B、//
C、<!--
D、<*

单选题 在对象的方法中访问属性name的语法为( )

A、self.name
B、this.name()
C、self.name()
D、this.name