#variable-shadowing
Read more stories on Hashnode
Articles with this tag
To understand variables shadowing in JavaScript, first, we need to understand the scope. In JavaScript, we have global scope, function scope, and...