Parsing Javascript in Javascript
Closures are a language feature which allow the programmer to inject static variables into a function’s scope, without the use of method parameters. E.g.: a = “b”; function c() { return a; } c() “b” A common pattern is to return a second function, using arguments from the first: function c(a) { return function f(b) …