employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged Employer

Tata Consultancy Services Interview Question

what is closure?

Interview Answer

Anonymous

Feb 21, 2017

a closure is a function inside the another function. it can access outer function variables inaddition to its inner function variables and global variables.inner function has access not only outer function variables but also outer function parameters a function inside the other function is called closure