11 ms·
A block introduces a lexical sub-scope but it's not a closure, because there's no closing over: the "closing over" part is about a function accessing its defini
by masklinn 6y ago
A block introduces a lexical sub-scope but it's not a closure, because there's no closing over: the "closing over" part is about a function accessing its definition context during its execution. A block doesn't have such a distinction.