If you haven't made the switch to the latest JavaScript syntax yet, now is a good time to get started.
- Without let (demo, code, bin)
- With let (demo, code, bin)
- Loops with var (demo, code, bin)
- Loops with let (demo, code, bin)
- Without Template Strings - Simple Concatenation (demo, code, bin)
- With Template Strings - Simple concatenation (demo, code, bin)
- Template Strings - Email (demo, code, bin)
- Template Strings - HTML (demo, code, bin)
- Regular Function (demo, code, bin)
- Arrow Function (demo, code, bin)
- Arrow Function - Multiple Args (demo, code, bin)
- Multiple Args - One Line (demo, code, bin)
- Arrow Functions with if statements ❌ (demo, code, bin)
- Arrow Functions with errors ❌ (demo, code, bin)
- setTimeout ❌ (demo, code, bin)
- setTimeout with .bind (demo, code, bin)
- setTimeout with Arrow Function (demo, code, bin)
- setTimeout with 'this' problem ❌ (demo, code, bin)
- Showing 'this' problem (demo, code, bin)
- Destructuring Assignment (demo, code, bin)
- Destructuring with Arguments (demo, code, bin)
- Destructured Object Arguments (demo, code, bin)
- Destructuring Arrays (demo, code, bin)
- Destructuring with Comma Placeholders (demo, code, bin)
- Object Literal Enhancement (demo, code, bin)
- Object Literal Enhancements with Functions (demo, code, bin)
- Literal Enhancements: The Old Way (demo, code, bin)
- Literal Enhancements Now (demo, code, bin)
- Spread Operator with Arrays (demo, code, bin)
- Array Destructuring with .reverse() (demo, code, bin)
- Spread Operator with Destructuring and .reverse() (demo, code, bin)
- Destructuring and the Spread Operator (demo, code, bin)
- Directions Functions (demo, code, bin)
- Spread Operator with Objects (demo, code, bin)