JavaScript & TypeScript Deep Dive
Intermediate · 13 missions · about 4 hours
Go past the basics into the JavaScript that real products run on: closures, data transforms, immutability, async error handling, retries, regex, time zones and TypeScript. You finish by building a concurrency-limited task queue, the kind of code senior engineers review AI output for.
Missions
- Scope, closures & higher-order functions: Functions that remember, and functions that build functions.
- Array method mastery: map, filter, reduce, flatMap and grouping like a pro.
- Objects, destructuring & immutability: Update state without mutating it, the way React expects.
- Classes vs factory functions: Private fields, this-binding traps and when to pick each style.
- Promises, async/await & error handling: Typed errors, selective catches and never swallowing failures.
- Promise.all, allSettled, race & any: Run work in parallel, tolerate failures, add timeouts.
- Retries with exponential backoff: Survive flaky networks without hammering the server.
- Regex for validation & parsing: Anchors, groups, named captures and matchAll.
- Dates & time zones without tears: UTC math, DST traps and formatting for any time zone.
- TypeScript essentials: types, unions & narrowing: Read the type system AI writes, and spot its lies.
- Generics & typing JavaScript with AI: Prompt an AI to convert JS to strict, honest TypeScript.
- Fix the AI: stale results & shared state: A search box that shows the wrong results, sometimes.
- Boss: An async task queue with a concurrency limit: Process 10,000 jobs, never more than N at a time.
Part of: AI Web Developer career path, Backend & Cloud Engineer career path, Game Developer career path