A.在形式上,函数套函数B.闭包让一个函数的局部变量不被释放C.闭包完全没什么存在的意义D.闭包比较耗费性能
A.this指向当前调用该函数的对象B.箭头函数会自动绑定当前作用域的this到函数内部C.使用es6中的箭头函数,可以获取到外面的thisD.react的生命周期函数中,this指向当前组件
A.componentWillMountB.componentDidMountC.componentWillRecivePropsD.componentWillUnmount