Closed addunt closed 7 years ago
'use strict', then use 'const', '=>' cause error in some browser
for example, in QQ mobile browser, shows error: 'Use of const in strict mode'
You need to babel-ify your source base to ES5. const is a reserved keyword in Javascript < ES6.
const
'use strict', then use 'const', '=>' cause error in some browser
for example, in QQ mobile browser, shows error: 'Use of const in strict mode'