跳到主要内容
CNode
查看回复

回复 (4)

H
hacke2#410 年前

node都还没实现呢

T
timqian#310 年前

@yakczh @czing Thanks,看起来的确不太乐观

C
czing#210 年前

模块应该是ES2015 最难实现的特性, 无论浏览器端还是node环境都有各自的加载兼容问题. 浏览器端的话最近刚将 <script type="module">这样的形式加入到 HTML 规范, 需要等浏览器实现, 见 https://blog.whatwg.org/js-modules https://bugs.chromium.org/p/chromium/issues/detail?id=594639 其他相关链接: https://github.com/nodejs/node-eps/issues/13

Y
yakczh#110 年前

es5现在浏览器都还支持不全呢,es6至少要10年以后
http://kangax.github.io/compat-table/es6/

参与回复

登录后即可参与回复。登录