Measures Concepts
GitHub icon

First-Class Functions

First-Class Functions - language feature

< >
Example from JavaScript, TypeScript:
[2.0,1.1].map(Math.round)

Languages with First-Class Functions include JavaScript, TypeScript, Hack, Aardvark

This question asks: Does the language have functions that can be passed as arguments to other functions, can be returned by other functions, and can be assigned to variables or stored in data structures?

Read more about First-Class Functions on the web: 1.

HTML of this page generated by Features.ts

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout