Overview of This Book
The first three chapters will introduce the JavaScript language and teach you how to
write grammatically correct JavaScript programs. They introduce control structures (such as
the while word we saw in this introduction), functions (writing your own
operations), and data structures. This will teach you enough to write simple
programs.
Building on this basic understanding of programming, the next four chapters discuss more advanced techniques—things that should make you capable of writing more complicated programs without them turning into an incomprehensible mess. First, Chapter 4 discusses handling errors and unexpected situations. Then, Chapter 5 and Chapter 6 introduce two major approaches to abstraction: functional programming ...