- let, const
- Block-level scope using let
- Environment per iteration - let and closures (extra demo)
- How let differs from var when used in the global scope
- Strings and Templating
- Usage
- Multi-line strings
- Variable interpolation
- Calling functions during interpolation
- Object and Array Destructuring
- Array destructuring
- Syntax
- Skipping items when destructuring
- Separate declaration and initialization
- Object destructuring
- Syntax
- Providing default values
- Renaming variables
- Renaming and providing defaults too
- Destructuring arguments passed (and providing defaults) and return values
- Array destructuring
- Arrow Functions
- Expressions in RHS
- Function body in RHS
- Context of arrow functions (this)
- Context of arrow functions within object methods
- Context of arrow functions when used as event handlers
- The arguments object of arrow functions
- Default Parameters
- Giving default value
- Defaults evaluation at runtime
- Iterators, Iterables
- for..in vs for..of for Array, String (applies only to iterables, key vs value being returned, all enumerable properties vs only collection properties)
- const instead of let or var for iterator variable
This repository was archived by the owner on Dec 18, 2019. It is now read-only.