exports - 最新版本的 node.js(7.0版) 支持 ES7 import/export 吗?怎么开启?
伊谢尔伦
伊谢尔伦 2017-04-17 15:37:47
0
4
479

最新版本的 node.js(7.0版) 支持 ES7 import/export 吗?怎么开启?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(4)
刘奇

node7.0 does not support import/export...
This is not a standard proposal in es6
It seems to be in es7 (don’t correct me below)

Peter_Zhu

@夜店小新新 In addition to compiling, is there any other more direct way?

巴扎黑

@夜场小新新
No, it is the standard of es6, but the standard is that there is no engine to implement it yet, because it involves many historical factors. For details, please see
https://segmentfault.com/a/11...

Ty80

Can be compiled using Babel

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template