What is ECMAScript?
Transpiling ECMAScript with Babel and Babel-node
Using the let and const keywords
Creating strings with template strings
Enhancing object literals
Working with ES6 classes and class inheritance
Arrow functions – A short-hand version of an anonymous function.
Block-level scope – ES6 now supports scoping variables to blocks (if, for, while, etc.) using the let keyword.
Classes – ES6 classes provide a way to encapsulate and extend code.
Constants – You can now define constants in ES6 code using the const keyword.
Default parameters – Ever wished that a function parameter could be assigned a default value? You can do that now in ES6.
Destructuring – A succinct and flexible way to assign values from arrays or objects into variables.
Generators – Specialized functions that create iterators using function* and the yield keyword.
Map – Dictionary type object that can be used to store key/value pairs.
Modules – Provides a modular way of organizing and loading code.
Promises – Used with async operations.
Rest parameters – Replaces the need for using arguments to access functions arguments. Allows you to get to an array representing “the rest of the parameters”.
Set – A collection object that can be used to store a list of data values.
Template Strings – Clean way to build up string values.