Question: What does it mean for a function to be a 'first class object/citizen'? It means that there is a specific keyword to create functions unlike

What does it mean for a function to be a 'first class object/citizen'? It means that there is a specific keyword to create functions unlike Java/C/C++ where there is no keyword It means that functions are the core abstraction of the language A function is treated like other data types and can be passed, used and returned by functions It means, "hold on to your head - we're doing recursion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
