JavaScript
✨ Modern JavaScript (ES6+)
Modern syntax that makes your code shorter and safer: destructuring, spread, optional chaining and more.
What you'll learn
- Destructure arrays and objects, renaming variables and applying default values.
- Use the
...operator as spread to combine and copy arrays and objects, and as rest to group parameters. - Safely access nested properties with optional chaining
?.and assign default values with nullish coalescing??. - Explain how
importandexportsplit code into reusable modules.
Lessons
DestructuringExtract values from arrays and objects in one line. Spread and rest (...)Expand and group with the three dots. Optional chaining and nullish coalescingSafe access with ?. and default values with ??. Modules: import and exportSplit code into reusable files (conceptual).Practice this module in the app
DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.
Start free in the app →