Frage im Vorstellungsgespräch bei POPSUGAR

Explain closures in JavaScript.

Antwort im Vorstellungsgespräch

Anonym

11. Apr. 2018

I talked about scoping, but I wasn't sure exactly what he was looking for. He then hinted lambda functions - I explained what a lambda function was but I still wasn't sure what he was looking for. He then asked what was so interesting about closures in relation to lambda functions. I talked about memory management but it doesn't seem like that was the answer he was looking for