【发布时间】:2015-10-23 08:56:57
【问题描述】:
我不断收到错误SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.
我认为是因为我有这样的一行:
const shouldSet = touches.length === 1;
if (shouldSet) {
const { onPanBegin } = this.props;
【问题讨论】:
标签: ios reactjs react-native