Summary
In this chapter, we have seen the basics of FP, a bit of its history, its advantages (and also some possible disadvantages, to be fair), why we can apply it in JavaScript (which isn’t usually considered a functional language), and what tools we’ll need to go through the rest of this book.
In Chapter 2, Thinking Functionally, we’ll go over an example of a simple problem, look at it in common ways, and end by solving it in a functional manner and analyzing the advantages of our method.