单项选择题
box.onclick = function() {
setTimeout(function() {
console.log(this)
})
}以上代码运行结果为()
A.window
B.box
C.undefined
D.程序报错
点击查看答案
相关考题
-
单项选择题
每个构造函数都有()属性,指向它的原型
A._proto_
B.prototype
C.constructor
D.以上都不对 -
单项选择题
以下在数组的末尾删除元素的方法()
A.pop
B.push
C.shift
D.unshift -
单项选择题
[1,2,3,4].forEach(function(item){returnitem+2})的返回值是()
A.[1,2,3,4]
B.[3,4,5,6]
C.undefined
D.3,4,5,6
