【发布时间】:2017-07-25 10:02:24
【问题描述】:
我需要帮助将下面的语句转换为 ES5 语法。 ES5 会是什么?
const { a, b, c = “foo” } = this.props;
【问题讨论】:
-
var a = this.props.a, b = this.props.b -
@rajesh const in ES5...
标签: javascript reactjs ecmascript-6 ecmascript-5