tech/webdev magazine

May 27, 2015

Closures in JavaScript

Wednesday, May 27, 2015 Teklinks

Closure is what happens when we manipulate variable scope in our functions. We might do this either to make variable contents accessible where they would not otherwise be, or to protect a variable from unwanted access. We covered the concept of variable scope. Specifically, we talked about the following two items: Closure is what happens when we manipulate variable scope in our functions.

Full article