16. MEDIUM | Scope in JavaScript
Global Scope
Variables and functions declared in the global scope are at the highest level of your code, outside of any function or block statement.
● Accessibility: They can be accessed from any part
javascript-topicwise-notes.hashnode.dev5 min read