Employeur impliqué
what is closure?
Utilisateur anonyme
a closure is a function inside the another function. it can access outer function variables inaddition to its inner function variables and global variables.inner function has access not only outer function variables but also outer function parameters a function inside the other function is called closure