List of Listings
Chapter 2. Building the page at runtime
Listing 2.1. Small web application with a GUI reacting to events
Chapter 3. First-class functions for the novice: definitions and arguments
Listing 3.1. A simple callback example
Listing 3.2. Storing a collection of unique functions
Listing 3.3. Memoizing previously computed values
Listing 3.4. Examples of function declarations
Listing 3.5. Function declarations and function expressions
Listing 3.6. Comparing an arrow function and a function expression
Listing 3.7. Using rest parameters
Listing 3.8. Tackling default parameters before ES6
Get Secrets of the JavaScript Ninja, Second Edition 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.