Frage im Vorstellungsgespräch bei Calix

What is the JavaScript closure?

Antwort im Vorstellungsgespräch

Anonym

23. März 2016

It is a kind of shared variable between code context, and every function instance can have separate instances of these variables. It may bind to function instance when function object is created.