11 lessons, in order. Each one runs in the editor above; for the concepts behind them, read the JavaScript guide.
Hello WorldYour first JavaScript program.
Variables and typesGet to know let, const, and the different data types.
Array methodsFunctional patterns for working with arrays: map, filter, reduce.
Async codeWrite asynchronous code with Promises and async/await.
Closures & patternsGet to know closures and practical JavaScript patterns.
Generators & iteratorsBuild custom iterables with Generator functions and Symbol.iterator.
Proxy & ReflectIntercept object access with Proxy to implement validation and caching.
WeakRef & FinalizationRegistryImplement a leak-free cache with ES2021 WeakRef.
Practical patterns β pipelines & function compositionBuild a data transformation pipeline with functional patterns.
Advanced. Cancellable work with AbortControllerLong-running work such as search, autocomplete, and API calls should accept a cancel signal to stop unnecessary follow-up processing.
Advanced. The Result pattern and error boundariesTreating success/failure as values instead of throwing everywhere lets UI, API, and test code control failure flows explicitly.