If you haven't made the switch to the latest JavaScript syntax yet, now is a good time to get started.
- Without Template Strings - Simple Concatenation (run it)
- With Template Strings - Simple concatenation (run it)
- Template Strings - Email (run it)
- Template Strings - HTML (run it)
- Regular Function (run it)
- Arrow Function (run it)
- Arrow Function - Multiple Args (run it)
- Multiple Args - One Line (run it)
- Arrow Functions with if statements ❌ (run it)
- Arrow Functions with errors ❌ (run it)
- setTimeout ❌ (run it)
- setTimeout with .bind (run it)
- setTimeout with Arrow Function (run it)
- setTimeout with 'this' problem ❌ (run it)
- Showing 'this' problem (run it)
- Destructuring Assignment (run it)
- Destructuring with Arguments (run it)
- Destructured Object Arguments (run it)
- Destructuring Arrays (run it)
- Destructuring with Comma Placeholders (run it)
- 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)