Javascript Developers
Date: February 28, 2017 6:40 pm
Date: February 28, 2017 6:40 pm
Date: August 5, 2016 | 4:30 pm
Posted: August 5, 2016 | 4:30 pm
Author: Java-admin
Date: July 5, 2016 | 1:21 pm
Posted: July 5, 2016 | 1:21 pm
Author: Java-admin
A program that reads your code and determines what it does and checks if the grammar is valid.
Your code is being translated by the Engineer’s program called ‘compilers’ or ‘interpreters’ so that it runs correctly in the browser. It converts it to computer instructions. It also helps check your grammar.
Date: July 5, 2016 | 1:22 pm
Posted: | 1:22 pm
Author: Java-admin
Where something sits physically in the code you write.
The word ‘Lexical’ means ‘having’ to do with words or grammar. A Lexical Environment exists in programming languages in which where you write something is important.
Date: July 5, 2016 | 1:22 pm
Posted: | 1:22 pm
Author: Java-admin
The ‘Execution Context’ is a wrapper to help manage the code that is running.
There are lots of lexical environments and which one is currently running is managed by the
execution contexts.
Date: July 5, 2016 | 1:22 pm
Posted: | 1:22 pm
Author: Java-admin
A name which maps to a unique value. The name may be defined more than once, but
could only have one value in any given context. That value may be a name/value pairs. You can also
have nested name/value pairs.
Date: July 5, 2016 | 1:23 pm
Posted: | 1:23 pm
Author: Java-admin
When a program runs it is run in the ‘Global Environment’ which runs in the
‘Global Execution Context.’ The ‘Global Execution Context’ can be seen by anything, anywhere.
Date: July 5, 2016 | 8:24 pm
Posted: | 8:24 pm
Author: Java-admin
You know that the JS engine wraps your code in a ‘Execution Context’ and there’s a weird thing
that the JS engine does. It hoist all variables and function to the top of the ‘Global’ environment
if your code is sitting on the ‘Global’ environment.
Date: July 5, 2016 | 8:25 pm
Posted: | 8:25 pm
Author: Java-admin
As we mentioned before in the ‘Execution Context’ creation phase that variables are setup and
set to equal ‘undefined’ and the functions are also setup in memory.
Date: July 5, 2016 | 8:25 pm
Posted: | 8:25 pm
Author: Java-admin
We already talked about the ‘creation’ phase of the ‘Execution Context’. This is where we setup the functions and variable in memory.
Now, lets talk about the second phase which is the ‘Execution’ phase of the ‘Execution Context’.