ValueLabs Interview Question: what is closure Example.?... | Glassdoor

Interview Question

Senior UI Devel Interview

what is closure Example.?


Interview Answer

1 Answer


Closure is nothing but a function inside another function. The inner function has the capability of access the outer function's variables, parameters as well as the global scope. That's create s a closure.

Lipak on Jun 9, 2018

Add Answers or Comments

To comment on this, Sign In or Sign Up.