JavaScript Course: Full Outline and Reading Order
The complete table of contents for the JavaScript course, from first steps to async, metaprogramming, browsers, Node and tooling: 139 articles in 17 parts, with a review quiz after each part. Start at the beginning or jump to any topic.
kvi5hnuCode Sprout team member12 min readOn this page
This is the table of contents for the JavaScript course. It takes you from your first line of JavaScript to the parts of the language that trip up experienced developers: the type system and conversions, this, closures, prototypes and classes, modules, iterators and generators, and asynchronous code. It's written for students learning the language, professionals filling in gaps, and anyone preparing for interviews.
The course follows the current standard, ECMAScript 2026, and calls out newer features as they arrive (iterator helpers, Set methods, Promise.try, Temporal, explicit resource management). Every runnable example has been run on Node.js, and its exact output is shown below it.
What you will learn
- How JavaScript actually evaluates code: types, conversions, scope, hoisting, the temporal dead zone and automatic semicolon insertion.
- Objects, prototypes,
this, closures and classes, well enough to explain them in an interview. - The array, string, collection, regular expression, date and
IntlAPIs, including the newest additions. - Iterators, generators and lazy pipelines with iterator helpers.
- The event loop, promises and
async/await, with solid error handling. - How modules work in browsers and Node, and how today's tooling fits together.
How the course is organised
| # | Part | What it covers |
|---|---|---|
| 1 | Getting Started | What JavaScript and ECMAScript are, running code in the browser and Node, a quick tour of the language, and a first real program |
| 2 | Lexical Structure | Comments, literals, identifiers, reserved words, Unicode in source code and automatic semicolon insertion |
| 3 | Types, Values and Variables | Numbers, BigInt, strings, booleans, null and undefined, symbols, the global object, references, conversions, let/const/var, scope and destructuring |
| 4 | Expressions and Operators | Property access, optional chaining, precedence, arithmetic, bitwise, comparison, logical and nullish operators, assignment, eval and more |
| 5 | Statements | Conditionals, switch, loops, for...of and for...in, break and continue, exceptions, strict mode |
| 6 | Objects | Creating objects, properties and inheritance, deleting and testing, enumeration, copying and merging, JSON, object literal features, getters and setters |
| 7 | Arrays | Creating arrays, indexes and length, iteration, map/filter/reduce, searching, flattening and copying, sorting, array-like objects |
| 8 | Functions | Defining and invoking functions, this, parameters, functions as values, closures, call/apply/bind and functional programming |
| 9 | Classes | Prototypes, class syntax, fields and private members, subclasses, composition and mixins |
| 10 | Modules | Why modules exist, CommonJS, ES modules, live bindings, modules in browsers and Node, dynamic import |
| 11 | The Standard Library | Set and Map, weak collections, typed arrays, regular expressions, Date, Temporal, Intl, the console, URLs and timers |
| 12 | Iterators and Generators | The iteration protocol, generators, yield*, next/return/throw and ES2025 iterator helpers |
| 13 | Asynchronous JavaScript | The event loop, callbacks, promises, chaining and error handling, combinators, async/await, async iteration and explicit resource management |
| 14 | Metaprogramming | Property attributes, extensibility, prototypes, well-known symbols, Reflect and Proxy |
| 15 | JavaScript in Web Browsers | Scripts and the page lifecycle, events, the DOM, CSS, geometry, web components, SVG and canvas, audio, history and the Navigation API, fetch, SSE and WebSockets, storage, workers and a Mandelbrot capstone |
| 16 | Server-Side JavaScript with Node | Running programs, arguments and modules, async APIs and the event loop, Buffers, EventEmitter, streams and backpressure, paths and files, HTTP servers, TCP, child processes and worker threads |
| 17 | JavaScript Tools and Extensions | Linting with ESLint and formatting with Prettier, testing with node and Vitest, npm packages and semver, bundlers and transpilers, JSX, and type checking with TypeScript |
Part 1: Getting Started
- What Is JavaScript? ECMAScript, TC39, Versions and Host Environments
- Running JavaScript: Browser DevTools Console, Node.js REPL and Script Files
- A Quick Tour of JavaScript, Part 1: Values, Variables, Objects, Arrays and Operators
- A Quick Tour of JavaScript, Part 2: Functions, Control Flow and Classes
- Your First Real JavaScript Program: A Word Frequency Report from Standard Input
Part 2: Lexical Structure
- JavaScript Lexical Structure: Case, Whitespace, Comments, Literals, Identifiers and Reserved Words
- Unicode in JavaScript Source Code: Escapes, Normalization and Invisible Characters
- JavaScript Semicolons: Automatic Semicolon Insertion Rules and Traps
Review quiz: Quiz: Getting Started and Lexical Structure Review (JavaScript Parts 1 and 2)
Part 3: Types, Values and Variables
- JavaScript Types and Values: Primitives, Objects and the typeof Operator
- JavaScript Numbers: Integer and Floating-Point Literals and the Math Object
- Infinity, NaN and Negative Zero in JavaScript: Special Number Values Explained
- Why 0.1 + 0.2 !== 0.3 in JavaScript: Floating-Point Precision, Rounding and Money
- JavaScript BigInt: Arbitrary-Precision Integers, Operators and Pitfalls
- JavaScript Strings: Literals, Escape Sequences and UTF-16 Code Units
- JavaScript String Methods: Searching, Slicing, Replacing, Padding and More
- JavaScript Template Literals: Interpolation, Multi-line Strings, Tagged Templates and String.raw
- JavaScript Booleans: true, false, Truthy and Falsy Values
- null and undefined in JavaScript: Differences, Checks and Best Practices
- JavaScript Symbols: Unique Keys, the Global Registry and Well-Known Symbols
- The JavaScript Global Object and globalThis: Browsers, Node.js and Workers
- Primitives vs References in JavaScript: Copying, Comparing and Mutating Values
- JavaScript Type Conversion: String(), Number(), Boolean(), parseInt and Formatting Numbers
- Implicit Type Coercion and == in JavaScript: The Rules Behind the Surprises
- Object-to-Primitive Conversion in JavaScript: valueOf, toString and Symbol.toPrimitive
- Declaring Variables in JavaScript: let, const and Naming
- var and Hoisting in JavaScript: Function Scope and Why let Replaced It
- Scope in JavaScript: Block, Function, Module and Global Scope and the Temporal Dead Zone
- Destructuring in JavaScript: Arrays, Objects, Defaults, Renaming and Nested Patterns
Review quiz: Quiz: Types, Values and Variables Review (JavaScript Part 3)
Part 4: Expressions and Operators
- JavaScript Expressions: Primary Expressions, Literals, Initializers and Property Access
- JavaScript Operator Precedence, Associativity and Evaluation Order
- JavaScript Arithmetic Operators: +, -, *, /, %, **, Increment and Decrement
- JavaScript Bitwise Operators: AND, OR, XOR, NOT, Shifts and Bit Flags
- JavaScript Comparison Operators: <, >, String Ordering, in and instanceof
- JavaScript Logical Operators: &&, ||, !, ?? and Short-Circuit Evaluation
- JavaScript Assignment Operators: =, Compound Assignment and Logical Assignment (&&=, ||=, ??=)
- JavaScript eval(): Direct vs Indirect eval, Strict Mode and Safer Alternatives
- JavaScript Conditional (Ternary), typeof, delete, void and await Operators
Review quiz: Quiz: Expressions and Operators Review (JavaScript Part 4)
Part 5: Statements
- JavaScript Statements: Expression Statements, Blocks, Empty Statements and Declarations
- JavaScript if, else and else if: Conditionals, Braces, Guard Clauses and Common Mistakes
- JavaScript switch Statement: case Matching, Fall-Through, default and Alternatives
- JavaScript Loops: while, do/while and the Classic for Loop
- JavaScript for...of and for...in Loops: Iterating Arrays, Strings, Maps and Object Keys
- JavaScript Jump Statements: break, continue, Labels and return
- JavaScript Exceptions: throw, try/catch/finally, Error Types and Error Handling Patterns
- JavaScript Strict Mode, debugger and with: What "use strict" Changes
Review quiz: Quiz: Statements Review (JavaScript Part 5)
Part 6: Objects
- JavaScript Objects: Creating Objects with Literals, new and Object.create
- JavaScript Object Properties: Reading, Writing, Dynamic Keys and Inheritance
- JavaScript Object Properties: Testing, Listing and Deleting (in, Object.hasOwn, Object.keys, Object.entries)
- Copying and Merging Objects in JavaScript: Object.assign, Spread, Defaults and Deep Merge
- JSON in JavaScript: JSON.stringify and JSON.parse, Replacers, Revivers and Pitfalls
- JavaScript Object Methods: toString, toLocaleString, valueOf and toJSON
- JavaScript Object Literal Syntax: Shorthand Properties, Computed Keys, Methods and Spread
- JavaScript Getters and Setters: Accessor Properties, Validation and Computed Values
Review quiz: Quiz: Objects Review (JavaScript Part 6)
Part 7: Arrays
- JavaScript Arrays: Creating Arrays with Literals, Spread, Array.of and Array.from
- JavaScript Array Elements: Indexes, length, at(), Sparse Arrays, Adding and Removing
- JavaScript Array Iteration: forEach, map and filter Explained
- Searching JavaScript Arrays: find, findIndex, findLast, includes, indexOf, some and every
- JavaScript reduce and reduceRight: Summing, Grouping, Counting and Building Objects
- JavaScript Stacks, Queues and Flattening: push, pop, shift, unshift, concat, flat and flatMap
- JavaScript slice, splice, fill, copyWithin and the ES2023 Copying Methods (toSpliced, toSorted, with)
- Sorting JavaScript Arrays: sort, Comparators, localeCompare, Stable Sort, reverse and toSorted
- JavaScript join, Array.isArray, Array-Like Objects and Strings as Arrays
Review quiz: Quiz: Arrays Review (JavaScript Part 7)
Part 8: Functions
- JavaScript Functions: Declarations, Expressions and Arrow Functions
- Calling JavaScript Functions: Methods, this, Constructors, Recursion and the Call Stack
- JavaScript Function Parameters: Defaults, Rest Parameters, arguments, Spread and Destructuring
- Functions as Values in JavaScript: First-Class Functions, Callbacks, Function Properties and Namespaces
- JavaScript Closures Explained: Lexical Scope, Private State, Loops and Memory
- JavaScript Function Properties and Methods: length, name, call, apply, bind, toString and new Function
- Functional Programming in JavaScript: Higher-Order Functions, Pure Functions, Currying, Composition and Memoization
Review quiz: Quiz: Functions Review (JavaScript Part 8)
Part 9: Classes
- JavaScript Prototypes and Constructor Functions: How Classes Work Underneath
- JavaScript Classes: class Syntax, Constructors, Methods, Fields, Static Members and Private #fields
- JavaScript Subclasses: extends, super, Overriding Methods and Extending Built-ins
- Composition over Inheritance in JavaScript: Delegation, Mixins and Abstract Classes
Review quiz: Quiz: Classes Review (JavaScript Part 9)
Part 10: Modules
- JavaScript Modules Explained: Why Modules Exist, IIFEs, Closures and CommonJS require
- ES Modules in JavaScript: import, export, Default vs Named Exports, Re-exports and Live Bindings
- JavaScript Modules in Browsers and Node: script type=module, Import Maps, Dynamic import(), Top-level await and CommonJS Interop
Review quiz: Quiz: Modules Review (JavaScript Part 10)
Part 11: The Standard Library
- JavaScript Set and Map: Unique Values, Key-Value Collections, Set Methods and When to Use Them
- WeakMap, WeakSet, WeakRef and FinalizationRegistry: Memory-Friendly References in JavaScript
- Typed Arrays, ArrayBuffer and DataView: Working with Binary Data in JavaScript
- JavaScript Regular Expressions: Literals, Character Classes, Quantifiers, Anchors and Groups
- JavaScript Regex Flags and Methods: test, exec, match, matchAll, replace, split and lastIndex
- Advanced JavaScript Regex: RegExp.escape, Modifiers, Practical Patterns and Catastrophic Backtracking
- JavaScript Dates: the Date Object, Timestamps, Time Zones, Date Arithmetic and Formatting
- Temporal in JavaScript: PlainDate, ZonedDateTime, Instant, Durations and Replacing Date
- JavaScript Intl: Formatting Numbers, Currencies, Dates, Relative Times and Durations for Any Locale
- JavaScript Intl for Text: Sorting with Collator, Plural Rules, Segmenter, Display Names and Locales
- The JavaScript console API: log Levels, Formatting, table, group, time, count, assert and trace
- URLs in JavaScript: the URL Class, URLSearchParams, Encoding and Safe URL Building
- JavaScript Timers: setTimeout, setInterval, Cancelling, Delays, Throttling and Scheduling
Review quiz: Quiz: The Standard Library Review (JavaScript Part 11)
Part 12: Iterators and Generators
- JavaScript Iterators and Iterables: Symbol.iterator, the Iteration Protocol and Custom Iterables
- JavaScript Generators: function*, yield, yield*, Infinite Sequences and Recursive Generators
- Advanced JavaScript Generators: Passing Values with next(), return(), throw(), Cleanup and State Machines
- JavaScript Iterator Helpers: map, filter, take, drop, flatMap and reduce on Any Iterator (ES2025)
Review quiz: Quiz: Iterators and Generators Review (JavaScript Part 12)
Part 13: Asynchronous JavaScript
- Asynchronous JavaScript: Callbacks, the Event Loop, Tasks and Microtasks
- JavaScript Promises Explained: States, then, catch, finally and Creating Promises
- Promise Chaining and Error Handling in JavaScript: Returning Values, catch Placement, finally and Unhandled Rejections
- Promise.all, allSettled, race and any: Running Promises in Parallel in JavaScript
- JavaScript async and await: Writing Asynchronous Code That Reads Like Synchronous Code
- Async Iteration in JavaScript: for await...of, Async Generators and Streams
- Explicit Resource Management in JavaScript: using, await using and DisposableStack
Review quiz: Quiz: Asynchronous JavaScript Review (JavaScript Part 13)
Part 14: Metaprogramming
- JavaScript Property Attributes: Writable, Enumerable, Configurable and Object.defineProperty
- Object Extensibility and Prototypes in JavaScript: preventExtensions, seal, freeze and setPrototypeOf
- Well-Known Symbols in JavaScript: Symbol.toPrimitive, toStringTag, hasInstance, species and More
- The JavaScript Reflect API: Reflect.get, set, has, ownKeys, apply and construct
- JavaScript Proxy Explained: Handlers, Traps and Intercepting Object Operations
- JavaScript Proxy Patterns and Pitfalls: Reactivity, Negative Indexes, Invariants and Limits
Review quiz: Quiz: Metaprogramming Review (JavaScript Part 14)
Part 15: JavaScript in Web Browsers
- JavaScript in the Browser: Scripts, Modules, defer, async and the Page Lifecycle
- JavaScript Events: addEventListener, the Event Object, Bubbling, Capturing and Delegation
- Selecting and Traversing the DOM: querySelector, closest, matches and Node Relationships
- Changing the DOM: Attributes, dataset, textContent, innerHTML and Creating Elements
- Scripting CSS with JavaScript: classList, Inline Styles, Computed Styles, Custom Properties and Animations
- Document Geometry and Scrolling: getBoundingClientRect, Viewport Coordinates, IntersectionObserver and ResizeObserver
- Web Components: Custom Elements, Shadow DOM, Templates and Slots
- Scripting SVG: Inline Vector Graphics, createElementNS, Paths and a Data-Driven Pie Chart
- Drawing with Canvas: Paths, Styles, Text, Images, Transforms, Clipping and Pixels
- Audio, Location and History: Web Audio, URLs, the History API and the Navigation API
- Networking with fetch: Requests, Responses, Errors, Streaming, Uploads and Cancellation
- Server-Sent Events and WebSockets: Real-Time Updates in the Browser
- Web Storage, Cookies and IndexedDB: Saving Data in the Browser
- Web Workers and Messaging: Threads, postMessage, Transferables and BroadcastChannel
- Example: A Parallel Mandelbrot Explorer with Workers and Canvas, plus Other Browser APIs
Review quiz: Quiz: JavaScript in the Browser Review (JavaScript Part 15)
Part 16: Server-Side JavaScript with Node
- Node.js Fundamentals: Running Programs, Arguments, Environment, Life Cycle and Modules
- Asynchronous Node: Callbacks, Promises, Sync APIs and the Event Loop Phases
- Node Buffers: Binary Data, Encodings, Reading and Writing Bytes
- Node Events: EventEmitter, Listeners, Errors and Async Event Helpers
- Node Streams: Readable, Writable, Duplex and Transform, Pipelines and Async Iteration
- Writing Streams: Backpressure, Flowing and Paused Modes, Custom Streams and Web Streams
- Node Process and OS Details, File Paths and Reading Files
- Writing Files, File Operations, Metadata and Directories in Node
- HTTP in Node: Servers, Routing, Static Files and Clients
- TCP Networking with net and Running Child Processes
- Worker Threads in Node: Parallel JavaScript, Messages and Shared Memory
Review quiz: Quiz: Server-Side JavaScript with Node Review (JavaScript Part 16)
Part 17: JavaScript Tools and Extensions
- JavaScript Tooling: Linting with ESLint and Formatting with Prettier
- Testing JavaScript: Unit Tests, Mocks and Coverage with node, Vitest and Jest
- Package Management: npm, package.json, Semantic Versioning and Lockfiles
- Bundlers and Transpilers: Vite, esbuild, Rollup, webpack, Babel and TypeScript Compilation
- JSX: Markup Expressions in JavaScript, and What They Compile To
- Type Checking with TypeScript: Annotations, Inference, Objects, Arrays and Functions
- TypeScript Beyond the Basics: Unions, Narrowing, Generics and Discriminated Unions
Review quiz: Quiz: JavaScript Tools and Extensions Review (JavaScript Part 17)
After the course: final quizzes
When you've finished all seventeen parts, test everything together, then go deeper:
- JavaScript Course Final Exam (All 17 Parts): a 30-question exam across all seventeen parts.
- JavaScript Interview Questions (Output Prediction and Core Concepts): the classic interview questions: closures, this, the event loop, coercion and more.
- JavaScript's Delicate Details (Spec-Level Edge Cases): spec-level edge cases that surprise experienced developers.
- Modern JavaScript, ES2022 to ES2027 Features: what's new from ES2022 to ES2027.
Start here: What Is JavaScript? ECMAScript, TC39, Versions and Host Environments

More in JavaScript Course
Quiz: Modern JavaScript, ES2022 to ES2027 Features
Twenty-four questions on what's new in JavaScript: change-array-by-copy methods, groupBy, Set methods, iterator helpers, Promise.withResolvers and Promise.try, RegExp.escape and the v flag, using declarations, Error.isError, Base64 typed arrays, Temporal, getOrInsert and Iterator.zip.
Quiz: JavaScript's Delicate Details (Spec-Level Edge Cases)
Twenty-eight questions on the fine print of JavaScript, drawn from the ECMAScript specification and MDN: sparse arrays, -0, number limits, JSON edge cases, Date overflow, UTF-16, property attributes, inherited accessors, comparison quirks, labels, regex state and Symbol.toPrimitive.
Quiz: JavaScript Interview Questions (Output Prediction and Core Concepts)
Thirty classic JavaScript interview questions: closures in loops, hoisting and the TDZ, this, the event loop and microtasks, async/await, coercion, sorting and parseInt traps, prototypes, copying, finally, generators and bind. Every answer was verified by running it.
Quiz: JavaScript Course Final Exam (All 17 Parts)
The final exam for the JavaScript course: thirty questions spanning all seventeen parts, from syntax, types and operators through objects, arrays, functions, classes, modules, the standard library, iterators, async code, metaprogramming, browsers, Node.js and tooling.
Discussion
Sign in to ask a question or share what you learned.