#closure
Read more stories on Hashnode
Articles with this tag
A closure in JavaScript is a function that has access to variables in its outer (lexical) scope, even after the outer function has returned. This...