多项选择题
以下关于this的说法,正确的选项是哪几个?()
A.this指向当前调用该函数的对象
B.箭头函数会自动绑定当前作用域的this到函数内部
C.setInterval中的this,一般指向window
D.react的生命周期函数中,this指向当前组件
点击查看答案&解析
相关考题
-
单项选择题
以下操作jq对象修改其css样式的写法正确的是()
A.dom对象.css()
B.dom对象.html()
C.$.dom对象.css()
D.$(dom对象).css() -
单项选择题
下列选项中如何确定路由的唯一性?()
A.router
B.Link
C.Switch
D.exact -
单项选择题
使用es6class类定义组件时constructor函数中必须要写什么()
A.super()
B.this.state
C.this.props
D.this.defaultProps
