Closure typically has a slightly different / more broad meaning than that, but it’s tightly related.
I’d just call it an ‘inner function’ if I don’t care if the function closes over any values or not.
Closure typically has a slightly different / more broad meaning than that, but it’s tightly related.
I’d just call it an ‘inner function’ if I don’t care if the function closes over any values or not.