Both are first class functions. First class functions take function as input parameter or output as function.
Programming focusing on a function is used as input parameter of another function or methods or as output of another function or method
Last updated 5 years ago