18. MEDIUM | Closure in JavaScript
What is Closure?
A closure in JavaScript is the combination of a function and the lexical environment within which that function was declared. In simple terms, closure happens when a function remember
javascript-topicwise-notes.hashnode.dev2 min read