What is SCOPE ? Scope - It determines the accessibility of variable, object, function from different part of the code. For the above code variable b is within the scope of the function a( ). So basically there are two type of scopes 1 : Global sc...

Markdown supported · ⌘↵ to post
Kirti Singh
I am Software Tester and on path to became a web developer
It's useful ..my all doubt is solved regarding the scope chaining and Lexical Environment. Thanks for Sharing.