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

Interview Question

Senior UI Devel Interview

what is closure Example.?

Answer

Interview Answer

1 Answer

1

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.