0 votes
in JavaScript by
What are the features of ES6 in javascript?

1 Answer

0 votes
by

Below are the list of some new features of ES6,

  1. Support for constants or immutable variables
  2. Block-scope support for variables, constants and functions
  3. Arrow functions
  4. Default parameters
  5. Rest and Spread Parameters
  6. Template Literals
  7. Multi-line Strings
  8. Destructuring Assignment
  9. Enhanced Object Literals
  10. Promises
  11. Classes
  12. Modules
...