Javascript Developers

Execution Menu

Author: Java-admin

Syntax Parsers

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.

Read more

Lexical Environments

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.

Read more

Execution Context

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.

Name/Value Pair and Objects

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.

Read more

The Global Environment and Global Object

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.

Read more

Hoisting

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.

Read more

Javascript and Undefined

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.

Read more

Code Execution

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’.

Read more