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

Using ES6 #2

Open
1 of 6 tasks
GMartigny opened this issue Jul 22, 2016 · 2 comments
Open
1 of 6 tasks

Using ES6 #2

GMartigny opened this issue Jul 22, 2016 · 2 comments

Comments

@GMartigny
Copy link
Owner

Using new syntaxe flavoring of ES6 can improuve readability and security of the code.

  • real OOP syntaxe
  • arrow function instead of binding
  • block variable with "let"
  • default parameter value
  • string templating
  • promises
@GMartigny
Copy link
Owner Author

Need support by Uglify mishoo/UglifyJS#448

@GMartigny
Copy link
Owner Author

Uglify now handle ES6 with the harmony branch (uglify-es package on NPM).
But grunt-contrib-uglify need to update to this new package gruntjs/grunt-contrib-uglify#494

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

No branches or pull requests

1 participant