javaScript Interview cheatSheet
If interviewer asked about scope we can give below answer straight forward
Scope in JavaScript defines accessibility of variables, objects and functions.
Lets understand it on more depth
There are 2 types of Scope in JavaScript-
1-Local Scope
...
piyushmani.hashnode.dev2 min read