If you are learning JavaScript, you must have come across the term Higher-Order Functions. Although it may sound complicated, it isn’t. Higher-Order Functions are extensively used in JavaScript. If you have been programming in JavaScript for a while, you may have already used them without even knowing. A Higher-Order function is a function that receives a function as an argument or returns the function as output or both. In this tutorial, I have explained the concept behind Higher Order Functions. After watching this video, you will get answers to all your questions regarding Higher Order Functions.
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 - Intro
1:05 - Functional Programming
2:11 - First class function
5:28 - Definition of Higher Order function
8:27 - Array.prototype.map()
15:49 - Array.prototype.filter()
24:19 - Our very own map function
Reference:
My video on JS Prototype - https://www.youtube.com/watch?v=Z45VQuHO_VA
#higher_order_function #javascript #bangla_programming_tutorial