Description

Book Synopsis

Understand functional programming concepts and the functional nature of the JavaScript language. Starting with an introduction to functional programming concepts, you will learn the key differences between imperative and functional programming. Diving straight into JavaScript functions, you will learn to write them with ES8. Followed by this you will move to higher order functions and learn how ''Function as Data'' opens up a world of possibilities. 

You will then build higher order functions with closures. Arrays will then be introduced, followed by a set of APIs you can use with them. You will learn how to transform one function to another using currying and partial application. The compose function will be discussed in detail, followed by functors and monads. After having an in-depth look at applicative functors, you will learn the new features offered in ES8. 

The concluding chapters of Beginning Functional JavaScript will show you how to use a funct

Table of Contents
Chapter 1: Functional Programming In Simple Terms

Chapter Goal: Introduce to the reader the functional programming concepts in simple terms. The chapter will consist of theory and few executable JavaScript code both in imperative terms and functional terms, thus showcasing the advantages of functional programming over imperative.

No of pages : 25

Sub -Topics

1. What is functional programming? Why it matters?

2. Functional programming thought process and its advantages.

3. Talking about side effects

4. Functions in Math and in programming

5. Immutability leads to parallel code

6. Testable

7. Easy to reason about your code.

8. Lets understand functions in JavaScript

9. What we are going to build in this book?

Chapter 2: Fundamentals of JavaScript functions

Chapter Goal: This chapter is a refresher on JavaScript functions. What they are and how they can be written in ES7/ES8

No of pages: 20

Sub - Topics

1. JavaScript Functions

2. Functions vs Methods in JavaScript

3. Functions old way and ES6 way

4. Anonymous functions or arrow functions

5. Deep Dive. Functions Prototype.

Chapter 3: Higher Order Functions

Chapter Goal: In this chapter we are going give a different thought process on how functions are treated as data in JavaScript world. We will be covering what is data and how function as data allows several things possible in JavaScript.

No of pages: 20

Sub - Topics:

1. Data in JavaScript

2. Functions as Data in JavaScript

3. Higher order functions

3. Our first functional approach to “loop” problem

Chapter 4: Closures
Chapter Goal: This chapter going to teach you the fundamentals of closures and how closures help to build higher order functions.

No of pages: 30

Sub - Topics:

1. Understanding closures.

2. How closures help in higher order functions

3. Create functional libraries using the above approaches learned.

4. Example problem and using the libraries that we created to show how functional programming helps them.

Chapter 5: Being Functional On Arrays

Chapter Goal: This chapter introduces set of APIs’ that one can use on top of Arrays.

No of pages: 20

Sub - Topics:

1. Arrays in JavaScript

2. How to access arrays, delete, loop them etc

3. Create functional libraries using the above approaches learned.

4. Example problem and using the libraries that we created to show how functional programming helps them.

Chapter 6: Currying and Partial Application

Chapter Goal: In this chapter we are going to see how and what is partial and currying is all about.

No of pages: 20

Sub - Topics:

1. What is composition?

2. Unix philosophy – build small things well and good

3. Creating composing function

4. Currying leads to Composition.

5. Pipelines

6. Showing examples of how to use composition

7. Category theory

Chapter 7: Composition and Pipeline
Chapter Goal: In this chapter we are going to discuss on how to compose our functions to build a larger functionality

No of pages: 20

Sub - Topics:

1. Unix philosophy
2. Creating our compose function
3. What is pipeline being all about
4. Debugging using tap function.
Chapter 8: Fun with Functors

Chapter Goal: In this chapter we are going to discuss on what Functors are and how they will be useful to us.

No of pages: 20

Sub - Topics:

1. A bit of algebra

2. Container Theory

3. First Functor

4. Adding Container functor code to our library

5. Showing examples of how to use the functors

6. Examples of MayBe and Either functors

Chapter 9: Monads In Depth

Chapter Goal: In this chapter we are going to talk about how to create monads into our functional library.

No of pages: 20

Sub - Topics:

1. Defining the problem

2. Understanding nested map hell

3. Implementing join and chain

4. The use case of Monads.

Chapter 10: Applicative Functors

Chapter Goal: In this chapter we are going to talk about applicative functors in depth and create them in our functional library.

No of pages: 20

Sub Topics:

1. What are applicative functors

2. Their use cases

3. Adding applicative to our library

4. Their Laws

Chapter 11: Pause, Resume with Generators

Chapter Goal: In this chapter we are going to talk about new features of ES8 called generators. We are going to see how to use it wisely to make Async sync.

No of Pages: 20

Sub – Topics:

1. What are generators?

2. Let’s create an indefinite lazy stream

3. Generators and EventLoop

4. Let’s understand Yield

5. Making Async sync

6. Adding the code to our library

7. Showcasing examples.

8. Async and Await, the new concepts of ES8!

Chapter 12: Building a React-like library

Chapter Goal : In this chapter, you will use a Functional Toolkit to build a small library. The library is used to build web applications with minimal efforts.

No of Pages: 25

Sub – Topics:

1. Defining the environment

2. Using functions throughout the codebase

3. Node APIs to speak with DOM

4. JSX and how to convert to functional calls.

5. Handling events

6. Handling updates

7. Recursion

Chapter 13: Testing and Closing Thoughts

Chapter Goal: In this chapter we are going to see how testing can be a walk in the park if you follow a functional approach and also look at key points to take away from the book.

No of Pages: 10

Sub – Topics:

1. Testing imperative Code

2. Testing functional code

3. Testing made easy via Functional

4. Final thoughts

Beginning Functional JavaScript

    Product form

    £41.24

    Includes FREE delivery

    RRP £54.99 – you save £13.75 (25%)

    Order before 4pm today for delivery by Mon 22 Jun 2026.

    A Paperback / softback by Anto Aravinth, Srikanth Machiraju

    3 in stock

      Trusted by thousands of customers. See 2,385+ Customer Reviews

      View other formats and editions of Beginning Functional JavaScript by Anto Aravinth

      Publisher: APress
      Publication Date: 06/12/2018
      ISBN13: 9781484240861, 978-1484240861
      ISBN10: 1484240863

      Description

      Book Synopsis

      Understand functional programming concepts and the functional nature of the JavaScript language. Starting with an introduction to functional programming concepts, you will learn the key differences between imperative and functional programming. Diving straight into JavaScript functions, you will learn to write them with ES8. Followed by this you will move to higher order functions and learn how ''Function as Data'' opens up a world of possibilities. 

      You will then build higher order functions with closures. Arrays will then be introduced, followed by a set of APIs you can use with them. You will learn how to transform one function to another using currying and partial application. The compose function will be discussed in detail, followed by functors and monads. After having an in-depth look at applicative functors, you will learn the new features offered in ES8. 

      The concluding chapters of Beginning Functional JavaScript will show you how to use a funct

      Table of Contents
      Chapter 1: Functional Programming In Simple Terms

      Chapter Goal: Introduce to the reader the functional programming concepts in simple terms. The chapter will consist of theory and few executable JavaScript code both in imperative terms and functional terms, thus showcasing the advantages of functional programming over imperative.

      No of pages : 25

      Sub -Topics

      1. What is functional programming? Why it matters?

      2. Functional programming thought process and its advantages.

      3. Talking about side effects

      4. Functions in Math and in programming

      5. Immutability leads to parallel code

      6. Testable

      7. Easy to reason about your code.

      8. Lets understand functions in JavaScript

      9. What we are going to build in this book?

      Chapter 2: Fundamentals of JavaScript functions

      Chapter Goal: This chapter is a refresher on JavaScript functions. What they are and how they can be written in ES7/ES8

      No of pages: 20

      Sub - Topics

      1. JavaScript Functions

      2. Functions vs Methods in JavaScript

      3. Functions old way and ES6 way

      4. Anonymous functions or arrow functions

      5. Deep Dive. Functions Prototype.

      Chapter 3: Higher Order Functions

      Chapter Goal: In this chapter we are going give a different thought process on how functions are treated as data in JavaScript world. We will be covering what is data and how function as data allows several things possible in JavaScript.

      No of pages: 20

      Sub - Topics:

      1. Data in JavaScript

      2. Functions as Data in JavaScript

      3. Higher order functions

      3. Our first functional approach to “loop” problem

      Chapter 4: Closures
      Chapter Goal: This chapter going to teach you the fundamentals of closures and how closures help to build higher order functions.

      No of pages: 30

      Sub - Topics:

      1. Understanding closures.

      2. How closures help in higher order functions

      3. Create functional libraries using the above approaches learned.

      4. Example problem and using the libraries that we created to show how functional programming helps them.

      Chapter 5: Being Functional On Arrays

      Chapter Goal: This chapter introduces set of APIs’ that one can use on top of Arrays.

      No of pages: 20

      Sub - Topics:

      1. Arrays in JavaScript

      2. How to access arrays, delete, loop them etc

      3. Create functional libraries using the above approaches learned.

      4. Example problem and using the libraries that we created to show how functional programming helps them.

      Chapter 6: Currying and Partial Application

      Chapter Goal: In this chapter we are going to see how and what is partial and currying is all about.

      No of pages: 20

      Sub - Topics:

      1. What is composition?

      2. Unix philosophy – build small things well and good

      3. Creating composing function

      4. Currying leads to Composition.

      5. Pipelines

      6. Showing examples of how to use composition

      7. Category theory

      Chapter 7: Composition and Pipeline
      Chapter Goal: In this chapter we are going to discuss on how to compose our functions to build a larger functionality

      No of pages: 20

      Sub - Topics:

      1. Unix philosophy
      2. Creating our compose function
      3. What is pipeline being all about
      4. Debugging using tap function.
      Chapter 8: Fun with Functors

      Chapter Goal: In this chapter we are going to discuss on what Functors are and how they will be useful to us.

      No of pages: 20

      Sub - Topics:

      1. A bit of algebra

      2. Container Theory

      3. First Functor

      4. Adding Container functor code to our library

      5. Showing examples of how to use the functors

      6. Examples of MayBe and Either functors

      Chapter 9: Monads In Depth

      Chapter Goal: In this chapter we are going to talk about how to create monads into our functional library.

      No of pages: 20

      Sub - Topics:

      1. Defining the problem

      2. Understanding nested map hell

      3. Implementing join and chain

      4. The use case of Monads.

      Chapter 10: Applicative Functors

      Chapter Goal: In this chapter we are going to talk about applicative functors in depth and create them in our functional library.

      No of pages: 20

      Sub Topics:

      1. What are applicative functors

      2. Their use cases

      3. Adding applicative to our library

      4. Their Laws

      Chapter 11: Pause, Resume with Generators

      Chapter Goal: In this chapter we are going to talk about new features of ES8 called generators. We are going to see how to use it wisely to make Async sync.

      No of Pages: 20

      Sub – Topics:

      1. What are generators?

      2. Let’s create an indefinite lazy stream

      3. Generators and EventLoop

      4. Let’s understand Yield

      5. Making Async sync

      6. Adding the code to our library

      7. Showcasing examples.

      8. Async and Await, the new concepts of ES8!

      Chapter 12: Building a React-like library

      Chapter Goal : In this chapter, you will use a Functional Toolkit to build a small library. The library is used to build web applications with minimal efforts.

      No of Pages: 25

      Sub – Topics:

      1. Defining the environment

      2. Using functions throughout the codebase

      3. Node APIs to speak with DOM

      4. JSX and how to convert to functional calls.

      5. Handling events

      6. Handling updates

      7. Recursion

      Chapter 13: Testing and Closing Thoughts

      Chapter Goal: In this chapter we are going to see how testing can be a walk in the park if you follow a functional approach and also look at key points to take away from the book.

      No of Pages: 10

      Sub – Topics:

      1. Testing imperative Code

      2. Testing functional code

      3. Testing made easy via Functional

      4. Final thoughts

      Recently viewed products

      © 2026 Book Curl

        • American Express
        • Apple Pay
        • Diners Club
        • Discover
        • Google Pay
        • Maestro
        • Mastercard
        • PayPal
        • Shop Pay
        • Union Pay
        • Visa

        Login

        Forgot your password?

        Don't have an account yet?
        Create account