⌨️ 0:50 | const and let
⌨️6:21 | Arrow Function
⌨️10:22 | Default Value
⌨️12:03 | Class
⌨️21:20 | Set
⌨️22:42 | Object Initializer
⌨️26:33 | Destructure
⌨️31:12 | Spread Operator
⌨️36:19 | Modules Import / Export
⌨️42:31 | Promise
⌨️47:51 | Async / Await (ES2017)
🎯Github Code: https://git.io/fhjMS
🔥More Tutorials: https://thinkdiff.net
In this video, I will discuss different between var, let and const keywords and why let and const are more appropriate than var.
ES2015 also introduced set data structure which is very important to store unique values.
Using ES6 we can use shorthand property name in object. When object property name and initializing variable name are same we can use shorthand syntax.
Destructuring is an easier way to access properties in objects and arrays. We will learn how to do that in this video. Using spread operator we can retrieve each and every element from an array or object.
The most important thing in ES6 is Promise object. A promise object represents an eventual completion or failure for an asynchronous operation. When a pending promise either fulfilled or rejected and if a corresponding handler is attached by ‘then’ method, the handler will be called.
ES2017 which is way to come have async/await feature. async/await functions are built onto promise. A function starts with async keyword means, it will must return a promise either implicitly or explicitly.
We will also learn how to export constant, objects, functions or class from one module to another module.