When I read about Closures, it’s often said that we are using Closures to create private variable, that cannot be accessed outside the function.
But isn’t it that this is true for all local variables inside a function? That they cannot be accessed outside the function?
In regards of Closures, what is the difference between a local and a private variable?