单项选择题
A.先进先出 B.先进后出 C.后进先出 D.后进后出
a标签的href属性会让a标签点击时跳转页面,怎么阻止这种行为?()A.preventDefault()B.s...
单项选择题a标签的href属性会让a标签点击时跳转页面,怎么阻止这种行为?()
A.preventDefault() B.stopPropagation() C.type=true D.以上都不对
Symbol值通过()生成。这就是说,对象的属性名现在可以有两种类型,一种是原来就有的字符串,另一种就是新增的...
单项选择题Symbol值通过()生成。这就是说,对象的属性名现在可以有两种类型,一种是原来就有的字符串,另一种就是新增的Symbol类型。
A.对象 B.函数 C.string函数 D.Symbol函数
function bark() {console.log("Woof!");}bark.animal = "d...
单项选择题function bark() {console.log("Woof!");}bark.animal = "dog";以上代码定义会发生什么?()
A.Nothing, this is totally fine! B.SyntaxError. You cannot add properties to a function this way. C.undefined D.ReferenceError