Javascript Placement Series(Part 2)
Scope, Lexical Environment, Scope Chaining
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...
aloksingh00.hashnode.dev3 min read
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.