Functions that keep track of variables from their containing scopes are known as closures Set aside scope chain, this context and other technicalities for a second, I would say that this is a quite effective definition.…