Higher-Order Functions in JavaScript
Jantcu
0:00 / 0:00
Higher-Order Functions in JavaScript
1 668 просмотров · 6 л. назад
Jantcu
4,19 тыс. подписчиков
1 668 просмотров · 6 л. назад
In this video we discuss the concept of High-Order functions in JavaScript. We start by taking a look at MDN's definition of first-class functions (https://developer.mozilla.org/en-US/d.... Then we run a simple example in the browser using addEventListener() to handle a click event. Finally we write some custom code to show how to return functions inside Higher-Order functions and explain why it can be useful.