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

引入ES6 #175

Closed
viRingbells opened this issue Oct 12, 2015 · 3 comments
Closed

引入ES6 #175

viRingbells opened this issue Oct 12, 2015 · 3 comments
Assignees
Milestone

Comments

@viRingbells
Copy link
Contributor

升级支持最新版的node,并将lark源码升级为ES6语法

@viRingbells
Copy link
Contributor Author

以此对所依赖的模块进行改造,改造点包括:

  • var改造成let或者const
  • 匿名函数改造成箭头函数
  • Class
  • Obj改造成Map和Set
  • arguments改成...args
  • 其他的想到再补上

暂时不能改造的点:

  • 默认参数
  • 解构

@zezhou
Copy link
Contributor

zezhou commented Oct 15, 2015

great

@zezhou zezhou added this to the v2.0 milestone Nov 4, 2015
@zezhou
Copy link
Contributor

zezhou commented Jul 5, 2016

支持该功能的开发分支在 https://github.com/larkjs/lark/tree/ES6

@zezhou zezhou closed this as completed Jul 5, 2016
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