Closure in Javascript
Closure in Javascript
In this article we are goanna to see about Closure in Javascript and where we use these. which is most important when you are going to start your career in JavaScript. Please read and enjoy this article if you want to give any feedback about your experience, we welcome.
Closure is a function having access to the parent scope. It can access the data from outside.
Closure is an inner function that has access to the outer function’s variables.
For every closure we have three scopes:-- Local Scope
- Outer Function Scope
- Global Scope
Tags:
JavaScript
0 comments
Please leave your comments...... Thanks