@Sascha10k
Nothing here yet.
Nothing here yet.
No blogs yet.
Nice article, good visualizations. But your explanation of closures is not correct and it happens a lot. You are describing lexical scoping as far as I remember. A closure "closes" the function. function a ( ) { let me = 0 ; function b ( ) { me = 1 ; } return b; } let fA = a(); // function is still "in the memory" fA(); // now it is getting removed "from the memory" The final execution of b() by calling fA() closes a(). So the name isn't even that bad.