Variable Scope in JavaScript
Local Scope in JS:
When a variable is declared inside any block of code, it will be called a Local variable. It will only be available within the block where it is declared and is not accessible in other blocks. A local variable is declared by var, ...
mycodingjourneyy.hashnode.dev2 min read