Chapter 5

Functional Programming

Learning Objectives

By the end of this chapter, you will be able to do the following:

  • Explain functional programming
  • Implement the key concepts of functional programming
  • Apply functional programming concepts to your code
  • Build new code bases in the functional programming style

This chapter explains types of programming, including Object-oriented programming and Functional Programming, and how to work with different types of functions.

Introduction

In the first chapter, we covered many of the new and powerful features released in ES6. We discussed the evolution of JavaScript and highlighted the key additions in ES6. We discussed scope rules, variable declaration, arrow functions, template literals, enhanced ...

Get Advanced 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.