List of Listings
Chapter 1. Becoming functional
Listing 1.1. Functional printMessage
Listing 1.2. Extending printMessage
Listing 1.3. Imperative showStudent function with side effects
Listing 1.4. Decomposing the showStudent program
Listing 1.5. Programming with function chains
Listing 1.6. Imperative program that reads and validates a student’s SSN
Listing 1.7. Functional program that reads and validates a student’s SSN
Chapter 2. Higher-order JavaScript
Listing 2.1. Defining the Person and Student classes
Chapter 3. Few data structures, many operations
Get Functional Programming in JavaScript 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.