Creating closures in loops: A common mistake

| No Comments

Here's a story that I read:




Closures are functions that refer to independent (free) variables. In short, variables from the parent function of the closure remain bound from the parent's scope.


via Pocket http://ift.tt/1cWVtVL

Leave a comment