Introduction to JS
Let's understand this by the following example:-
So this is the global variable which is not having the limited scope. And can be accessed by anywhere. And everytime you refreshing this page a popup box will be coming in front of you and that is just because of the alert command.
JS training insitute | Best IT Training classes in Gurgaon | Web Designing Training Institute