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
JavaScript All-in-One For Dummies saves you shelf space by offering a complete introduction to JavaScript and how it's used in the real world. This book serves up JavaScript coding basics before diving into the libraries, frameworks, and runtime environments new and experienced coders need to know. Start by learning the basics of JavaScript—anyone can do it, even if you've never written code before. Then go into the details of today's hottest frameworks—React.js, Vue.js, Svelte, and Node.js. Cozy up and learn some JavaScript!
Learn the basics of web and application development with the JavaScript language
Work with React, Vue, Svelte, Node.js, and the real-world tools that professionals use
Gain a highly marketable skill, with one of the most popular coding languages
Launch or further your career as a coder with easy-to-follow instruction
This is the go-to Dummies guide for future and current coders who need an all-inclusive guide JavaScript.