Part 1. Warming up
This part of the book will set the stage for your JavaScript ninja training. In chapter 1, we’ll look at the current state of JavaScript and explore some of the environments in which JavaScript code can be executed. We’ll put a special focus on the environment where it all began—the browser—and we’ll discuss some of the best practices when developing JavaScript applications.
Because our exploration of JavaScript will be done in the context of browsers, in chapter 2 we’ll teach you about the lifecycle of client-side web applications and how executing JavaScript code fits into this lifecycle.
When you’re finished with this part of the book, you’ll be ready to embark on your training as a JavaScript ninja!