会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
m2maomao
博客园
首页
新随笔
联系
订阅
管理
2018年4月19日
import和export语法报错
摘要: “最近在学习ES6”,但是在chrome中新建了js通过ES6语法(import,export)无法引入外部JS,报错: Uncaught SyntaxError:Unexpected token { b.js a.js inde.html 我们都知道现在浏览器对于ES2015(ES6)的语法支持还
阅读全文
posted @ 2018-04-19 17:07 m2maomao
阅读(10776)
评论(0)
推荐(0)
编辑