What does closure mean?
In software engineering, closure means a function together with access to variables from its surrounding lexical environment, even when it is called from elsewhere.
Software Engineering vocabulary · Programming Concepts
In Turkish: kapanım
Type at least 2 characters to search all fields.
How it is used
Used in JavaScript and functional programming when explaining callbacks, private state and variables captured by nested functions.
Example sentences
The closure keeps access to the request ID after the outer function returns.
Each closure in this list captures a different configuration value.
Common collocations
- create a closure
- closure capture
- lexical closure
