What is a closure in simple words?
A closure allows a function to remember variables from its outer scope.
Verify This Answer
Cross-check this information using these trusted sources:
More FAQs in What Is a Closure in JavaScript?
Still have questions?
Browse all our FAQs or reach out to our support team
