in JavaScript by
Q:

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.
Click here to read more about JavaScript
Click here to read more about Insurance

Related questions

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