Functional programming basics part 2: Higher order function

added by JavaScript Kicks
9/18/2018 8:44:32 AM

447 Views

In order to be called a Higher order function, one must either take an other function as a parameter or return a function. Take function as a parameter??? what? no way!! Let's start by writing a simple function that is not from the highest order: Now lets try to pass this function to an other function: Woah that worked!!


0 comments