Introduction to JS
Inside a block or function if any variable is declared . It is accessible within the function or block only.
Let's understand this by the following example :-
Basically it means that it is having the limited scope.
If any variable is accessible from any function than the function declared with in the window object is known to be the global variable.It is not having any limited scope.
So this is the lobal variable which is not having the limited scope.
JS training insitute | Best IT Training classes in Gurgaon | Web Designing Training Institute