ECMAScript 6 reached feature complete status in 2014. The features vary widely from completely new objects and patterns to syntax changes to new methods on existing objects.
ECMAScript 6 reached feature complete status in 2014. The features vary widely from completely new objects and patterns to syntax changes to new methods on existing objects. For a full list of what's changed, see this list.
The JavaScript core language features are defined in a standard called ECMA-262. The language defined in this standard is called ECMAScript, of which the JavaScript in the browser and Node.js environments are a superset.
Features
- Arrow functions
- Classes
- Enhanced Object Literals
- Template Strings
- Destructuring
- Default + Rest + Spread
let+const- Iterators +
for..of - Generators
- Unicode
- Modules
- Module Loaders
- Map + Set + Weakmap + Weakset
- Proxies
- Symbols
- Subclassable Built-ins
- Promises
- Math + Number + String + Array + Object APIs
- Binary and Octal Literals
- Reflect API
- Tail Calls
- Typed arrays and DataViews