Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 292 Bytes

HighOrderFunctions.md

File metadata and controls

14 lines (7 loc) · 292 Bytes

High order functions

This kind of function is a function that takes or returns a function, as the example below

  const callFunctionWithArray = (actionFunction) => actionFunction(['A',2]);

  const gettingAFunction = (value) => () => value;