JavaScript Function Scope
In the Previous JavaScript tutorial, we learned about JavaScript functions. And there we discussed that if a variable is defined inside the function it can not be accessed outside this is because of the variable scope. So what is the scope in JavaScript? The scope in JavaScript defines the visibility or accessibility area of a variable. And whenever… Read More »