Why we need to Understand closure?
So we can know where to declare variable and which function in nested level can have access to it.
For understanding Closure, please refer below link which has provided best documentation to understand.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures
Top comments (0)