Tuesday, September 20, 2016

javascript closure

A closure is a data structure that binds a function to its environment at the moment it’s declared.

Closures are readily seen in the case of nested functions.


No comments:

Post a Comment