+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.

Related questions

+1 vote
asked Jul 16, 2019 in JavaScript by Indian
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
...