Practicing Functional JavaScript Exercise 4 (Video)

06-17-20 Yosevu Kilonzo

This fourth JavaScript exercise helps you level up your functional programming skills, leading you through a resistor color duo example.

Practicing Functional JavaScript helps you level up your functional programming skills. Working with functions is the best practical place to get started with functional programming and a great way to practice patterns that can be used in any code base. Understanding concepts like function composition and referential transparency is more useful when you can recognize them through repeated exposure to the patterns in specific examples.

Solution to Exercise 4: Resistor Color Duo

Part 1

Part 2

Follow the link below to find all of the exercises in Github. Practice on your own or follow along with this video walkthrough for exercise 4. You can find video walkthroughs for exercises 1 and 2 and exercise 3 on The Foundry as well. And check back later for the other solutions to these functional JavaScript problems!

Learn more about Practicing Functional JavaScript

Get started: git clone