2 examples to understand the difference between var and let
11 July, 2022
There are countless articles related to the differences between let, const, and var. However, when it comes to var the usual conclusion is to just stop using it. I’m not here to debunk that or suggest a new way of doing things. But the interesting part is not whether it is abandoned or not, but […]
The 3 parts of Javascript’s Lexical Scope
20 June, 2022
Lexical scope is a somewhat intimidating concept the first time you hear about it. I don’t know about you, but the name alone doesn’t tell me much. I remember that for me, it was one of those concepts that I had to make a conscious effort to learn; it wasn’t something that came naturally to […]