Sollicitatievraag bij Calix

What is the JavaScript closure?

Antwoord op sollicitatievraag

Anoniem

23 mrt 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.