The course currently consists of 9 modules, each of them packed with examples and explanations on specific ES6 topics.
The course takes about 2-3 hours to complete.
This unit discusses the 'let' and 'const' keywords in ES6 with working examples.
Probably the most exciting addition to ES6 are the arrow functions - they allow developers to use a new streamlined syntax to create functions. Arrow functions also come with a set of new features that the JS community welcomed, including:
ES6 brings quite a few additions to functions such as:
In this unit we'll take a look at all of these, finding out what they all mean and trying them all out in various working examples.
Firstly, computed property names. The names of object properties can now by dynamically computed without having to use the associative array syntax or the evil eval.
Secondly, object destructuring simplifies the process of extracting the values from an object.
ES6 can support multi-line strings, gives us the ability to substitute variables in a string and can even evaluate simple expressions. All with a really simple and intuitive syntax.
This unit covers all of the aspects of template strings in ES6.
In ES5 you had to create a constructor and assign functions to its prototype. In ES6 this no longer is the case.
This unit discusses how - with ES6 - we can import and export functions and variables from modules, or even entire modules. With working example of course.
These are new and updated ways of creating and working with items to loop through. The currently typical use for iteration is to loop through an array or an object - with ES6 you can do so much more.
This unit discusses iterables, generator functions and iterators via working examples in ES6.
This unit discusses native Promises in ES6 via working examples.