What are closures? A closure is a combination of a function bundled together with relations to its surrounding state (the lexical environment). In simple words, every function in Javascript has access to its outer lexical environment (variables, func...

Markdown supported · ⌘↵ to post
Benjamin Nwokolo
javascript developer
well explained !!