Calix Interview Question

What is the JavaScript closure?

Interview Answer

Anonymous

Mar 23, 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.