在es6中class内部,使用babel-preset-stage-0即可使用的语法糖使用方式:https://babeljs.io/docs/plugi...例如 ::this.[functionName] 等价于 this.[functionName].bind(this, args?)
在es6中class内部,使用babel-preset-stage-0即可使用的语法糖
使用方式:https://babeljs.io/docs/plugi...
例如