Javascript Interview Preparation Cheat sheet.
Scope
The scope is the region in a program within which the variables, objects, and functions can be accessed.
There are 2 types of scope:-
1. Global Scope:-
The outermost part of the program is a global scope. Any variables declared in the global s...
omkarg01.hashnode.dev4 min read