answersLogoWhite

0

What is closure in javascript?

Updated: 12/13/2022
User Avatar

Wiki User

13y ago

Best Answer

A "closure" is an expression (typically a function) that can have free variables together with an environment that binds those variables (that "closes" the expression).

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is closure in javascript?
Write your answer...
Submit
Still have questions?
magnify glass
imp