Upgrade from ES5-era JavaScript to modern (ES2015+) syntax. This course covers the everyday building blocks that make modern code concise and expressive: block-scoped variables, arrow functions, destructuring, spread/rest, optional chaining, nullish coalescing, and template literals (including tagged templates). By the end, you'll read and write idiomatic modern JavaScript fluently.
Overview
Syllabus
- Unit 1: Modern Scoping and Functions
- Upgrading Legacy Variable Scoping
- Fix the Broken Method
- Master Modern Function Syntax
- Build a Modern Stopwatch
- Unit 2: Modern JavaScript Destructuring
- Unlock More From Your Objects
- Unpack the Nested Layers
- Organizing Lists and Function Inputs
- Master Deep Data Unpacking
- Unit 3: Spread and Rest Operators
- Keep Your Original Data Safe
- Polish the Syntax Flow
- Merging and Gathering Data
- Build Your Own Helper Library
- Unit 4: Optional Chaining and Coalescing
- Smarter Default Values
- Prevent the Crash
- Advanced Data Safety Patterns
- Build a Safe Data Helper
- Unit 5: Template Literals and Tags
- String Building Made Better
- Polishing the Tag Logic
- Building a Secure Tag
- Crafting a Custom Text Tag