
Explore higher-order functions by building a city tax calculator using currying to return a final-price function for New York, Denver, and Chicago.
Master the map method in JavaScript by creating a times two array from numbers with a callback using current value, index, and array, including a concise one-line arrow function solution.
Learn how the array filter method works in JavaScript by applying predicates to select approved students and names starting with s, including using named and anonymous callback functions.
Explore the reduce method in JavaScript, compare it with map, and build a sum and an object with even and odd arrays using an initial value.
Practice exercise using map, reduce, and filter to compute each student's GPA from grades, set approved flags, and display only approved students.
Hello, and welcome to our Foundational JavaScript Function Programming Course! I’m Arthur Bandeira, and I’ll be your instructor in this concise, but informative curriculum that will introduce you to the core concepts of JavaScript Functions.
In this course, we’ll cover topics and subjects that are of essential importance to every developer.
Since the advent of the procedural model, Functions have had a prominent role in software development, even to the extent of having a whole programming paradigm that revolves around them, which is known as Functional Programming.
The concepts are presented here through one of the most popular programming languages in the world —Javascript— and can be applied just as effectively to any object-oriented or multi-paradigm language.
We will cover some of the main concepts in Functional Programming and thoroughly explore the idea of Function and its practical applications, such as High-order and First-class Functions, as well as learn highly important methods like Map, Filter and Reduce.
In addition to all this free content, we included several challenges with their respective answers to further enhance your learning experience.
So, if you are interested in deepening your knowledge of JavaScript Functions and Functional Programming, this is the right course for you.