Please enable JavaScript.
Coggle requires JavaScript to display documents.
JavaScript (Execution Context (Creation (When the JavaScript interpreter…
JavaScript
Execution Context
Creation
When the JavaScript interpreter “compiles” the code line-by-line before it is executed, it creates a call stack. Because JavaScript is a single threaded language, only one thing can happen in the browser at a time, the rest are in this call stack waiting to be run
-
-
-
The Execution Context is the abstract concept of the environment in which the current code is being evaluated in
-
This could be either one of the below.
- The default global environment
- function environment
-
-
Objects
-
A property is a “key: value” pair, where key is a string (also called a “property name”), and value can be anything.
The JavaScript "Object" type is very versatile since JavaScript is a dynamically typed language. This flexibility allows for the "Object" type to be used in ways that might seem strange when compared to statically typed languages
-
-
-
-
-
-
Single Threaded, Synchronous execution
-
Functions, context and variable environments
-
-
-
-