Advanced · Included in Ascent
Closures, this and prototypes, the event loop, promises and async/await, iterators and generators, functional patterns, performance and deep equality, practised on the backend of an indie game studio.
You've joined Pixel Forge, a twelve-person indie game studio in Montréal, a month before their online co-op game launches. Amara, the tech lead, needs the game server, matchmaking and save system to hold up under real players.
Closures, this and bind, and the prototypes behind classes.
The event loop, promises, async/await, combinators and retries.
The iterator protocol, generators, memoize and once, pipelines and currying.
Complexity in practice, deep equality and cloning, then the capstone.
Pass every lesson and the capstone, then the 15-question final quiz, to earn your JavaScript Advanced certificate with a link anyone can verify.
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.
JavaScript modules: import, export and ES modules in Node.js
Named versus default exports, how ES modules differ from CommonJS require, setting up Node.js for import, and how to organise a project into small modules.
Testing JavaScript with node:test: no framework needed
Write and run JavaScript tests with Node.js's built-in test runner: test and describe, assert.strictEqual vs deepStrictEqual, async tests, mocks and what makes a good test.