Intermediate · Included in Ascent
Array methods, destructuring, classes, custom errors, JSON, Map and Set, dates and immutable updates: the everyday tools of professional JavaScript, practised on a music festival's data.
You've joined the small tech team behind Harbor Lights, a three-day music festival on Rotterdam's waterfront. Joris, the lead developer, needs the lineup, the cashless wristbands and the timetable app ready before the gates open.
map, filter, reduce, find/some/every, sorting, destructuring, spread and rest.
Classes, private fields and getters, inheritance and your own error types.
JSON, Map and Set, optional chaining and ??, and working with dates.
Immutable updates, functions as values, then the capstone.
Pass every lesson and the capstone, then the 15-question final quiz, to earn your JavaScript Intermediate certificate with a link anyone can verify.
JavaScript arrays: map, filter, reduce, find and sort without surprises
The array methods you use every day, which ones change the array and which return a new one, and the sort() bug that bites everyone who sorts numbers.
JavaScript closures and scope explained with small examples
What a closure is, why let and const are block-scoped while var isn't, the classic loop bug, and how closures give you private state, counters and memoised functions.
JavaScript promises and async/await: a practical guide
How promises work, what await really waits for, running tasks in parallel with Promise.all, handling errors properly, and the event loop in two minutes.