Closure

Closure is when a function is able to remember and access its lexical scope even when that function is executing outside its lexical scope.
Source: https://astronautweb.co/javascript-lexical-scope/

 

Igor Springer

I build web apps. From time to time I put my thoughts on paper. I hope that some of them will be valuable for you. To teach is to learn twice.

 

Leave a Reply

Your email address will not be published. Required fields are marked *