Unexpected token '...'. Expected a property name.

Cause: The browser does not support Extended operator es6 
in conclusion:
1. do not ...
2. babel-polyfill ... engage the extended operator is not very good, to install a separate  plugin-proposal-object-rest- spread

Scene: 11.2 wkwebview end embedded applications ios

pc-chrome no problem, no problem ios high version, testers have a black and white ios11.2 error, the error message is opened Unexpected token '...'. Expected a property name.

Reproduced in: https: //www.cnblogs.com/thinkingthigh/p/11057079.html

Guess you like

Origin blog.csdn.net/weixin_34067049/article/details/93740007