What is closure in JavaScript and why is it useful?

Gargi Holikar
Gargi Holikar

Posted On: Oct 17, 2019

 

Related Questions

JavaScript Closure Interview Questions

Enlist list advantages of closures in JavaScript?

There are several advantages of using closures in JavaScript. Some of them are:Closure enables the use of nested functions that are used to get the values created in the execution context of that ...

Ask a Question