Skip to main content

7 docs tagged with "Block"

View All Tags

Block

Block is defined as: Source Code Encapsulation in { } curly braces (excl Object Literals) to define boundary of Lexical Environment. Topics on: !recall if & loo

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

function

function is defined as: callable Block of code to perform action or return Value. Topics on: Currier Function, function purpose, Anon Function, function definit

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

if

if is defined as: Control Flow JS Keyword to optionally execute Block on Boolean Context of expression. Topics on: . Read more: JS, JS Language, Statement, Cont

Loop

Loop is defined as: Control Flow to repeat Block Execution. Topics on: do-while, for, for-in, for...of, for await...of, while, Infinite Loop, Terminal Condition

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