單項選擇題['a', 'b', 'c'].fill(7)的返回結果是 ()
A.[’a’,’b’,’c’]
B.[’a’,’b’,’c’,’a’,’b’,’c’,’a’]
C.[7,7,7]
D.[7,7,7,7,7,7,7]
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題function Foo(){getName =function(){alert(1)};return this;},其中this指向()
A.getName
B.window
C.Foo
D.以上說法都不對
2.單項選擇題function fn(){ var name = "bawei"; alert(this); alert(this.name)}fn();正確的彈出結果是()
A.window,bawei
B.window,window
C.bawei ,bawei
D.window,undefined
3.多項選擇題關于數組的方法,會修改原數組的選項是()
A.map
B.unshift
C.push
D.splice
4.多項選擇題關于事件處理函數,卸載事件的說法正確的?()
A.detachEvent
B.removeEventListener()
C.dom.onxxx =null
D.off
5.多項選擇題let { bar, foo } = { foo: 'aaa', bar: 'bbb' };下列輸出正確的是 ()
A.console.log(foo)輸出"aaa"
B.console.log(bar)輸出"bbb"
C.console.log(foo)輸出"bbb"
D.console.log(bar)輸出"aaa"