Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodejs 7 可以开启支持async和await的模式了 #1

Closed
Molunerfinn opened this issue Dec 20, 2016 · 1 comment
Closed

nodejs 7 可以开启支持async和await的模式了 #1

Molunerfinn opened this issue Dec 20, 2016 · 1 comment

Comments

@Molunerfinn
Copy link

nodejs 7.0.0 开始已经支持使用 --harmony-async-await 选项来开启async 和 await功能

可以不必用babel转了。后端koa直接用node写async和await原生支持。前端用vue-cli的webpack模板的es6足够了

@BUPT-HJM
Copy link
Owner

今天我也刚看到node7居然可以,我试试看~😄谢谢皮蛋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants