ES6

  • ES6stands for ECMAScript 6.
  • ES6 is the 6th version of ECMAScript, was published in 2015, and is also known as ECMAScript 2015.
  • ES6 allows you to make the code more modern and readable.
  • By using ES6 features, we write less and do more, so the term ‘Write less, do more’ suits ES6.
  • ES6 introduces you many great features such as Scope Variable, Arrow Functions, Default Parameters, Rest & Spread, Destructuring of Arrays & Objects, Template Literals, Array Helper Methods etc.
  • ES6 ignores spaces, tabs, and newlines that appear in programs. You can use spaces, tabs, and newlines freely in your program and you are free to format and indent your programs in a neat and consistent way that makes the code easy to read and understand.