單項(xiàng)選擇題

function Person(){}var p1 =new Person();console.log(p1.__proto__==Person.prototype);
以上代碼執(zhí)行結(jié)果為? ()

A.TRUE
B.FALSE
C.Person
D.Object


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題['a', 'b', 'c'].fill(7)的返回結(jié)果是 ()

A.[’a’,’b’,’c’]
B.[’a’,’b’,’c’,’a’,’b’,’c’,’a’]
C.[7,7,7]
D.[7,7,7,7,7,7,7]

2.單項(xiàng)選擇題function Foo(){getName =function(){alert(1)};return this;},其中this指向()

A.getName
B.window
C.Foo
D.以上說法都不對

3.單項(xiàng)選擇題function fn(){ var name = "bawei"; alert(this); alert(this.name)}fn();正確的彈出結(jié)果是()

A.window,bawei
B.window,window
C.bawei ,bawei
D.window,undefined

5.多項(xiàng)選擇題關(guān)于事件處理函數(shù),卸載事件的說法正確的?()

A.detachEvent
B.removeEventListener()
C.dom.onxxx =null
D.off