Closure

/ˈkloʊʒər/ noun

A function that captures and retains access to variables from its surrounding scope even after that scope has finished executing. This allows the function to 'remember' and use those variables later.

From Latin 'clausura' meaning 'a shutting' or 'enclosure'. In programming, the term was coined in the 1960s during lambda calculus research, referring to how a function 'closes over' its environment, capturing variables from outside its immediate scope.

AMመዝጋት
ARإغلاق
BNবন্ধ
CAtancament
CSuzavření
DAlukning
DEAbschluss
ELκλείσιμο
EScierre
FAبستن
FIsulkeminen
FRfermeture
📖 Full word page — etymology, 47 translations, audio 🔑 Get Free API Key — 50 lookups/day 📚 Read the Docs — integrate Word Orb