Yeison Daza
4 min read

Understanding Closures in JavaScript

A closure is when a function is able to remember and access a lexical scope, even when that function is executed outside of that lexical scope.