Maybe in Java, but that's actually atypical, as far as I'm aware.
function makeCounter(a) {
// `a` below is bound to the provided function argument
return () => a += 1;
}
> counter = makeCounter(5)
() => a += 1
> counter()
6
> counter()
7
Closures have the ability to provide a...