What is Closure in JavaScript?

1 Answer(s)

Closures are created whenever a variable that is defined outside the current scope is accessed from within some inner scope.

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.