Higher Order Function

A function which takes another function as parameter or returns another function is called a higher order function.

Like

setInterval which takes a function definition and interval
this returns a reference to itself

Leave a comment