UNPKG

30-seconds-of-code

Version:
3 lines (2 loc) 270 B
### First-class function A programming language is said to have first-class functions if it treats them as first-class citizens, meaning they can be passed as arguments, be returned as values from other functions, be assigned to variables and stored in data structures.