Table of Contents
Introduction 1
Book 1: JavaScript Fundamentals 7
Chapter 1: Jumping into JavaScript 9
Chapter 2: Filling Your JavaScript Toolbox 41
Chapter 3: Using Data 63
Chapter 4: Working with Operators and Expressions 81
Chapter 5: Controlling Flow 91
Chapter 6: Using Arrays 105
Chapter 7: Making and Using Objects 125
Chapter 8: Writing and Running Functions 139
Chapter 9: Getting Oriented with Classes 167
Chapter 10: Making Things Happen with Events 181
Chapter 11: Writing Asynchronous JavaScript 197
Chapter 12: Using JavaScript Modules 223
Book 2: Meet Your Web Browser 231
Chapter 1: What a Web Browser Does 233
Chapter 2: Programming the Browser 241
Book 3: React 261
Chapter 1: Getting Started with React 263
Chapter 2: Writing JSX 281
Chapter 3: Building React Components 297
Chapter 4: Using Data and Events in React 327
Book 4: Vue 341
Chapter 1: Getting an Overview of Vue 343
Chapter 2: Introducing Vue Components 357
Chapter 3: Making Vue Templates 369
Chapter 4: Using Data and Reactivity 395
Chapter 5: Responding to Events 411
Book 5: Svelte 421
Chapter 1: Getting Started with Svelte 423
Chapter 2: Building with Components 437
Chapter 3: Designing Templates 451
Chapter 4: Using Directives 463
Chapter 5: Using the Component Lifecycle 471
Chapter 6: Advanced Svelte Reactivity 483
Book 6: Sharpening Your Tools 493
Chapter 1: Building from Scratch 495
Chapter 2: Optimizing and Bundling 513
Chapter 3: Testing Your JavaScript 535
Book 7: Node.js 557
Chapter 1: Node.js Fundamentals 559
Chapter 2: Streaming 587
Chapter 3: Working with Buffers 603
Chapter 4: Accessing the File System 613
Chapter 5: Networking with Node 627
Chapter 6: Using Events 639
Chapter 7: Error Handling and Debugging 651
Chapter 8: Accessing Databases 673
Chapter 9: Riding on the Express Train 697
Chapter 10: Registration and Authentication 721
Index 755