Finance Certifications Goldman Sachs and Amazon Teams Trust
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course teaches you about functional programming in JavaScript, complete with examples and more advanced concepts.
Syllabus
Introduction
- Functional programming will change the way you think about code
- What you should know
- Basic setup
- The goal of functional programming
- Declarative vs. imperative programming
- Immutability
- Separation of data and functions
- Converting object-oriented to functional code
- First-class functions
- Ensuring immutability with ESLint
- Installing and setting up ESLint
- Ensuring immutability: Finalize ESLint
- JavaScript arrow function syntax
- Using functions as data
- Creating arrays of functions
- Passing functions as arguments
- Returning functions
- Understanding closure
- Higher-order functions
- Tour of CoderPad
- Solution: More higher-order functions
- Basics of functional data manipulation
- The spread operator
- Using the map() function
- Using the filter() function
- Using the every() and some() functions
- Preventing mutation with the slice() function
- Using the sort() function
- Using the reduce() function
- Combining array functions
- Solution: Recreating the map() function
- Currying and partial application
- Recursion
- Memoization
- Solution: Count occurrences
- Solution: Anagrams
- Next steps in your ES6+ journey
Taught by
Shaun Wassell