Spotify Interview Question

What is a closure?

Interview Answer

Anonymous

Feb 2, 2017

A closure is a function that "remembers" the context it is defined in even though the current execution has moved away from that context. This question is usually asked to JavaScript developers.