Syntax Parsers, Execution Contexts and Lexical Environments
The program interpreters/parsers
interpret and check your code for validity.
They then implenment it in a way the computer can understand, it is converted to a language the machine hardware will understand.
Lexical environment
is the place where something is phisically located in the code.
For example, if you write a function and have a variable inside the function, we can say that the varriable it lexically located in the function.
where something sits lexically will give you an idea of where it might be saved in the computer memory and how it might interact with others that sarround it.
So lexical environment includes the location and the sarroundings.
Execution context
is the wrapper that contains the currently running code.
These are very important concepts to keep in mind as we continue through with this course. It will help you understand deeper what goes on when a javascrip code is run.
Back to Topics ππ»
Next Lesson: Global Environment
Click hereππ½
Take one minute to let us know what you want us to cover here Here .
Connect on twitter Twitter.