Both are first class functions. First class functions take function as input parameter or output as function.
Last updated 5 years ago