JavaScript Interview Preparation CheatSheet
What is Scope?
The Scope is like a home for values and expressions in which it can be referenced.
Type of scope in JavaScript:
Block Scope
Local Scope
Global Scope
Lexical Scope
1. Block Scope
Variables declared using keywords *let* and *const*...
aim.hashnode.dev5 min read