Introduction
ES6 (ES2015) JavaScript version introduced major language features that have seen JavaScript gain a lot of popularity over the years. This has been a major language to the JavaScript language since 1997.
Features introduced in ES6 Javascript
The following features were introduced in ES6(ES2015)
language spec:
- The const & let keyword keyword
- Arrow Functions
- for/of
- for/in
- Map Objects
- Set Objects
- Template literals
- Class keyword
- Promises
- Symbol
- Default parameters
- Function Rest Parameters
String.includes()
String.startsWith()
String.endsWith()
Array.from()
Array.keys()
Array.find()
Array.findIndex()
- JavaScript modules(better known as ES6 Modules)
- Iterables
Object.entries
In our next article, we shall go through each feature in a summarized format and learn why leveraging on these features makes us better developers.
Found this article helpful? You may follow me on Twitter where I tweet about interesting topics on web development.