Skip to main content

39 docs tagged with "Call Stack"

View All Tags

Args Object

Args Object is defined as: Object to contain all Argument pass into function (for current EC). Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, E

Asynchronous Code

Asynchronous Code is defined as: Non-Blocking Source Code to defer execute, wait in Callback Queue & move to Call Stack once background task Settled. Topics on:

Block Scope

Block Scope is defined as: Variable Lookup restrict to inside of Block. Topics on: block scope !only applies to let & const variables, block scope does not appl

Call Stack

Call Stack is defined as: where code executed via EC, to track execution order. Topics on: EC, Call Stack stores Primitives but not Objects, JavaScript code run

Closure

Closure is defined as: [[ ]] of function to preserve access to VE of EC at its creation. Topics on: Closure are an intangible property, the scope chain is prese

Compile Time

Compile Time is defined as: Program lifecycle phase to Compiler Source Code. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Compile Time, P

EC

EC is defined as: Environ to run JS, to contain VEST, to fill task pipline in Call Stack. Topics on: VEST, VE, Scope Chain, this keyword, Necessary info include

Event Loop

Event Loop is defined as: (mechanism) to orchestrate Non-Blocking Concurrency Model by manage Callback Functions between Callback Queue & Call Stack, to await e

Execution

Execution is defined as: (process) to run Machine Code immediately in Call Stack. Topics on: . Read more: JS, JS Concepts, JS Engine, JIT, JIT Compilation Flow,

Execution Thread

Execution Thread is defined as: Part of EC currently run in CPU Thread. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Execution Thread, CP

FAV

FAV is defined as: Function Declarations, Args Object & Variables. Topics on: Args Object. Read more: JS, JS Concepts, JS Engine, Call Stack, EC, VE, FAV | Wiki

Function EC

Function EC is defined as: EC for Function Scope code. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Function EC, Function Scope| Dev Wiki

Function Scope

Function Scope is defined as: Variable access restrict to only inside function body.. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Scope

Global EC

Global EC is defined as: EC created for Global Scope or Top-Level Code. Topics on: Top-Level Code. Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Global

Global Function

Global Function is defined as: function declare in Global Scope. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Scope Chain, Scope, Global

Global Object

Global Object is defined as: Object to access via Global Scope. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Scope Chain, Scope, Global S

Global Scope

Global Scope is defined as: Outside any Block. Variable access everywhere. Topics on: Global Variable, Global Object, Global Function. Read more: JS, JS Concept

Global Variable

Global Variable is defined as: Variable Declaration in Global Scope or Top-Level Code. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Scope

Hoisting

Hoisting is defined as: (mechanism) to access Variable before Declaration. Topics on: before execution, code is scanned for variable declarations, each Variable

Hoisting differs per variable type

Hoisting differs per variable type. Topics on: when hoisting fn declarations, function declarations can be called before declared in code due to hoisting storin

JS Engine

JS Engine is defined as: Program to execute JS Source Code, consists of Call Stack, Heap, Callback Queue & Event Loop. Topics on: Browser Vendor Engines, Call S

Lexical

Lexical is defined as: of relating to words (Expressions or Variables). Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Scope Chain, Scoping

Lexical Environment

Lexical Environment is defined as: current Scope environ where JS Engine read Source Code. Topics on: each EC tells JS Engine which Lexical Environment currentl

Lexical Scope

Lexical Scope is defined as: Placement environ where Source Code is defined to determine Variable Scoping. Topics on: Lexical. Read more: JS, JS Concepts, JS En

lexical this keyword

lexical this keyword is defined as: this 👉 outer Lexical Scope (of surrounding function). Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, T

Main Thread

Main Thread is defined as: Execution Thread for main App process inside CPU. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Main Thread, Ex

Runtime

Runtime is defined as: final lifecyle stage when Program is run inside EC. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Runtime, Program

Scope

Scope is defined as: Place where Variable is declared. Topics on: Variable declare inside function store in VE of function's EC, Global Scope, Block Scope, Fu

Scope Chain

Scope Chain is defined as: Link to Variable from outer Scopes to current Scope. Topics on: Scoping, Scope. Read more: JS, JS Concepts, JS Engine, Call Stack, EC

Scope of a variable

Scope of a variable is defined as: Region of code where Variable can be accessed. Topics on: All scopes have access to variables from all outer scopes which it

Scoping

Scoping is defined as: How Variable are organised & accessed. Topics on: scoping determines where variables live and whether we can access them or not, Lexical

Stack OverFlow

Stack OverFlow. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, Stack Over Flow|FullStack Wiki by Roger J

TDZ

TDZ is defined as: Region of Source Code outside Scope of a variable, variable uninitialized from Scope start to Declaration. Topics on: . Read more: JS, JS Con

this Arrow

this Arrow is defined as: lexical this keyword 👉 <surrounding function>. Topics on: lexical this keyword. Read more: JS, JS Concepts, JS Engine, Call Stack, EC

this keyword

this keyword is defined as: Special variable which 👉to 'owner' of calling function. Topics on: implicit parameter of functions, this is dynamic and depends on

Top-Level Code

Top-Level Code is defined as: Source Code in Global Scope, outside Block. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Global EC, Top Lev

Variable Lookup

Variable Lookup is defined as: (process) to look upwards for Variable in Scope Chain, when not in Lexical Environment. Topics on: Scope access is unidirectional

VE

VE is defined as: container for FAV. Topics on: FAV, Memory Address location where Variable lives, Each EC has its own VE, Functions can access variables outsid

VEST

VEST is defined as: Variable Environment, Scope Chain & this keyword. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, VEST | Full-Stack Wiki