Part 3. Ninja training
Now that you’ve snatched the pebble and graduated from your apprenticeship, this part of the book takes the fundamentals you’ve learned and teaches you how to survive in the often-hostile environment of the browser. Techniques for dealing with the difficult situations that the browsers put us into are presented, based on the knowledge garnered from the minds of the greatest ninjas.
In chapter 9, we’ll charge right into the advanced topic of code evaluation—a technique usually reserved for the mightiest of JavaScript warriors, and one that will be added to your arsenal.
Chapter 10 will cover the with statement, a controversial language construct that, although contraindicated for new code, is liable to exist in any legacy code you need to deal with.
In chapter 11, you’ll learn how to deal with cross-browser issues and survive the ordeal.
Your ninja training completes with chapter 12, which explores the realm of attributes, object properties, and related subjects such as styles and CSS.
After chapter 12, if you’re thirsting for more, a fourth part of this book— Master Training—continues with the dark arts of JavaScript mastery.