摘要: html 中的 head 标签引入:test.js :import { a } from "./test2.js";console.log(a);//0test2.js:'use strict'let a = 0;export { a };node 版本:8.9,从官网下载的 msi 重装的;在浏览器中运行正常,没有报错,但是:这样用是报错的,可以理解,上面的 0 没有报错,是在 type="mo... 阅读全文
posted @ 2018-02-10 11:23 xianshenglu 阅读(884) 评论(0) 推荐(0) 编辑