Sunday, June 12, 2016

What is ES6?

ES6 :: What is ES6?

The Sixth Edition of ECMAScript (JavaScript/based on JavaScript), known as ES6 or ECMAScript 2015, adds significant new syntax for writing complex applications, including classes and modules. Other new features include iterators and for/of loops, Python-style generators and generator expressions, arrow functions, binary data, typed arrays, collections (maps, sets and weak maps), promises, number and math enhancements, reflection, and proxies (metaprogramming for virtual objects and wrappers). As the first “ECMAScript Harmony” specification, it is also known as “ES6 Harmony”.

Here’s a list of most important features added to ES6:

1. Default Parameters
2. Template Literals
3. Multi-line Strings
4. Destructuring Assignment
5. Enhanced Object Literals
6. Arrow Functions
7. Promises
8. Block-Scoped Constructs Let and Const
9. Classes
10. Modules

===============================================================
All rights reserved. Any unauthorized broadcasting, public performance, copying
or re-recording will constitute an infringement of copyright.


No comments:

Post a Comment