+2 votes
in JavaScript by

What is closure and how do you use it?

1 Answer

0 votes
by
  • When a function returns the other function the returning function will hold its environment and this is known as closure.
...