Part 2. Functions
Part 2 takes the objects defined in the first part and brings them to life. Functions kick the gears into motion on any JavaScript application. Unfortunately, most JavaScript developers don’t take full advantage of the power of JavaScript functions. By taking advantage of the fact that functions are also objects in the system, you’ll begin to appreciate the joy of JavaScript. Part 2 also introduces new syntax that will change how you structure your JavaScript code: the pipeline and bind operators.
Chapter 4 starts by teaching you how to use JavaScript in a functional manner. You’ll learn to decompose problems into small tasks, each represented by a function, and to compose them back together. To enable this capability, higher-order ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access