Bank of America interview question

What is a closure for javascript?

Interview Answer

Anonymous

2 Aug 2017

A function with a new local execution scope containing the current variables and functions in the scope at creation, allows data privacy.