Functions that operate on other functions, either by taking them as arguments or by returing them, are called higher order functions.

References

  • http://eloquentjavascript.net/05_higher_order.html#p_18CYJsdOxo
  • https://www.sitepoint.com/higher-order-functions-javascript/
  • https://medium.com/javascript-scene/the-rise-and-fall-and-rise-of-functional-programming-composable-software-c2d91b424c8c