Variable
↔ named ref (Identifier) bound to a Value
aka Variables
a variable can be either a Primitive or Reference Value type
References
Parameter
↔ Variable pass into function to define Function Signature, imports Arguments & act as local variableDeclaration
↔ (process) to create a Variable, usually via LiteralStub
↔ line of code (for function), indexed by __line number & VariableTypeGlobal Variable
↔ Variable Declare in Global Scope or Top-Level CodeStrongly-Typed
↔ of Programming Language to req Type assign for Variable DeclarationTop Type
↔ universal (super-) Type assignable to any Variableconst
↔ JS Keyword to Declare read-only named constant Variable with Block ScopeType Annotation
↔ TS Syntax to annotate Variables with TypesVariable Declaration
↔ initial step of creating new Variable by creating a new Identifierlet
↔ JS Keyword to Declare mutable Variable with Block Scopevar
↔ JS Keyword to Declare mutable Variable with Function ScopeObject
↔ any non-Primitive Variable Type rep a collection of properties. Pass by referenceScope Chain
↔ Link to Variable from outer Scopes to current ScopeType Inference
↔ (feature) TSC to auto-derive implicit Type for Variable (w/o explicit Type Annotation)Dynamic Level
↔ TS Runtime Language Level of JS Source Code & Variablesundefined
↔ Primitive Value to rep Variable "not initialized" or "not existing" (for object property)Identifier
↔ name/reference for Variable as pointer to bind a Value to a memory addressType-Check
↔ (process) to check Variable assigned expected Types (usually done statically during Compile Time)Static Type System
↔ system to Type-Check Type of Variable (known & expected) at Compile TimeDynamically-Typed
↔ of Variable not fixed to one Type at Declaration, can be reassigned, only become known at RuntimeScope Chain
↔ Upwards Unidirectional access to Variables from current scope to outer scopes via Variable LookupBinding
↔ (formal ECMAScript term for Variable) Identifier to catch & hold Value 🐭Dependency
↔ any Variable local to FC Scope to control Hook TriggerStable Variable
↔ Variable constant with each renderLexical Scope
↔ Placement environ where Code is defined to determine Variable ScopingLexical
↔ of relating to words (Expressions or Variables)return
↔ JS Keyword to specify a single Variable/Expression output from functionFirst-Class Functions
↔ of function equiv to regular VariablesGeneric Type Variable
↔ special Variable that works on Types instead of ValuesType Assignment
↔ code to assign Type to Variable/Parameter using:
"strictNullChecks": true
↔ tothrow
Exception when access Variable which potentially benull
/undefined
"noUnusedLocals": true
↔ to warn/throw when Function Scope Variable unused (inside function)Type Guard
↔ Runtime Type-Check to Narrow Type of VariableNon-Null Assertion Operator
↔ postfix!
Type Assertion to Assert that Variable ≠undefined
||null
as
↔ Type Assertion Type Operator to Assert Variable as TypeuseRef()
↔ Stateful Hook to persist Passive State Variable across renders in FC, asref
handle Escape Hatch to DOM API elementsInitial State
↔ value of Variable/property on first run of ComponentHoisting
↔ (mechanism) to access Variable before DeclarationFunction Scope
↔ Variable access restrict to only inside function body.Global Scope
↔ Outside any Block. Variableaccess everywhereOperand
↔ Variable to manipulate by JS OperatorVariable Lookup
↔ (process) to look upwards for Variables in Scope Chain, when not in Lexical EnvironmentScope of a variable
↔ Region of code where Variable can be accessed