What is JavaScript Closure?

what is JavaScript Closure?

Ans :- when you need access to the features of a function that is located outside the inner function, the role of JS closure comes into play. It is such an option that helps even what the function located outside is closed.

2 Likes

We appreciate your participation @nagesh28katke :grin: