Higher Order Functions - JavaScript Tutorial
ColorCode ColorCode
82.4K subscribers
67,267 views
3.1K

 Published On Sep 17, 2021

What is a Higher Order Function in JavaScript?
Why do we need Higher Order functions?
And how can you use them to your advantage?

Higher Order Functions from the series "10 Things JS Developers Should Know"
by ColorCode.io, Sina Jazayeri

Full playlist here:    • 20 Things JavaScript Developers Shoul...  

This is episode 8 in a 10 part series I’m calling 10 things javascript developers should know but probably don’t. In this series, we’re going to cover some of the most fundamental and important parts of JavaScript that most of us don’t actually know, and barely touch. Today, for episode 8, we’re talking about Higher Order Functions, why they exist, and how to use them. Episode 8: Higher Order Functions. Let’s go!

All the code from this series is available here:
https://github.com/ColorCode/js-10-th...


0:00:00 Intro
0:01:11 What is a Higher Order Functions?
0:02:28 Example: setTimeout
0:03:33 Example: Array.filter
0:04:50 Example: Iterators and Loops
0:06:09 Chaining functions together
0:07:29 Function Factory
0:08:54 Conclusion

show more

Share/Embed