List of Listings
Chapter 2. Arming with testing and debugging
Listing 2.1. A simple logging method that works in all modern browsers
Listing 2.2. A simple page that uses the custom log() method
Listing 2.3. A reduced DOM test case for jQuery
Listing 2.4. A simple implementation of a JavaScript assertion
Chapter 3. Functions are fundamental
Listing 3.1. Proving things about the way that functions are declared
Listing 3.2. Observing the scoping behavior of declarations
Listing 3.3. Illustrating the differences between function and method invocations
Get Secrets of the JavaScript Ninja now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.