Skip to main content

34 docs tagged with "Statement"

View All Tags

!snippet truthy falsy

!snippet truthy falsy. Topics on: Boolean([]), Boolean(new Date()), true && 'wasd', Boolean(null), [] == true. Read more: JS, JS Language, Statement, Control Fl

'use strict'

'use strict' is defined as: Directive Statement to invoke Strict Mode for either entire script or specific function. Topics on: Strict Mode, Sloppy Mode. Read m

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 Comment

Block Comment is defined as: /* JS Syntax to comment for multiple lines */. Topics on: . Read more: JS, JS Language, Statement, Block Comment, JS Syntax | Wiki

Boolean Context

Boolean Context is defined as: whether Value Coercion to Truthy || Falsy. Topics on: Truthy, Falsy. Read more: JS, JS Language, Statement, Control Flow, Conditi

break

break is defined as: JS Keyword to end current loop/switch. Topics on: . Read more: JS, JS Language, Statement, Control Flow, Break, JS Keyword, Switch|Dev Wiki

CLI

CLI is defined as: Text-based UI to provide cmd Statements to Terminal. Topics on: Terminal, Shell, CLI commands, ISE, codex-cli. Read more: Dev Tool, CLI, UI,

Conditional Statement

Conditional Statement is defined as: Control Flow to execute vs boolean condition. Topics on: if, if...else, switch, try...catch, Boolean Context. Read more: JS

continue

continue is defined as: JS Keyword to end execution of Statement in current Iteration of loop, & continue execution with next iteration in loop. Topics on: . Re

Control Flow

Control Flow is defined as: Execution Sequence Order of Statement(s). Topics on: Block, break, Conditional Statement, continue, Guard Clause, Iteration, Loop, R

Directive

Directive is defined as: Statement to direct Compiler/Preprocessor behavior. Topics on: 'use strict', 'use client', Hashbang, Hashbang, By extension, //ts- && /

Falsy

Falsy is defined as: value considered false (in Boolean Context) via Coercion. Topics on: contrast, !snippet truthy falsy. Read more: JS, JS Language, Statement

for-in

for-in is defined as: Control Flow to Loop over iterable INCL ANY AND ALL PROPS !avoid. Topics on: . Read more: JS, JS Language, Statement, Control Flow, Loop,

Guard Clause

Guard Clause is defined as: Control Flow condition to trigger early return. Topics on: . Read more: JS, JS Language, Statement, Control Flow, Return | Dev Wiki

Hashbang

Hashbang is defined as: Directive to specify Runtime Environment via first-line code: #!/usr/bin/env node. Topics on: . Read more: JS, JS Language, Statement, D

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

Infinite Loop

Infinite Loop is defined as: Loop w/o Terminal Condition, hang until Stack OverFlow. Topics on: . Read more: JS, JS Language, Statement, Control Flow, Loop, Ter

Iteration

Iteration. Topics on: Synchronous Iteration. Read more: JS, JS Language, Statement, Control Flow, Iteration|FullStack Wiki by Roger J

label

label is defined as: to prefix Statement with Identifier to call with break & continue. Topics on: used to label continue & break statements, acts similar to go

Line Comment

Line Comment is defined as: // JS Syntax to comment for single line. Topics on: . Read more: JS, JS Language, Statement, Line Comment, JS Syntax| FullStack Wiki

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

Mutual Recursion

Mutual Recursion is defined as: Design Pattern for two functions to Recursion call each other. Topics on: . Read more: JS, JS Language, Statement, Control Flow,

Program

Program is defined as: self-contained sequence of Statement to perform task. Topics on: Algorithm, Scaffolding. Read more: Computer Science, Computer Lang, Comp

Recursion

Recursion is defined as: function to call itself from its implementation body. Topics on: RangeError, Mutual Recursion. Read more: JS, JS Language, Statement, C

Sloppy Mode

Sloppy Mode is defined as: (default) non-Strict Mode Semantic for JS Compiler. Topics on: . Read more: JS, JS Language, Statement, Directive, Use Strict, Strict

Statement

Statement is defined as: single line of Source Code, end with ; semicolon. Topics on: Line Comment, Block Comment, Control Flow, Directive. Read more: JS, JS

Strict Mode

Strict Mode is defined as: opt-in variant of JS with more restrictive Semantic & rules for JS Compiler. Topics on: . Read more: JS, JS Language, Statement, Dire

switch

switch. Topics on: . Read more: JS, JS Language, Statement, Control Flow, Conditional Statement, Switch|FullStack Wiki by Roger J

Synchronous Iteration

Synchronous Iteration is defined as: Protocol to connect data source & consumer. Topics on: Iteration Protocol. Read more: JS, JS Language, Statement, Control F

Terminal Condition

Terminal Condition is defined as: Control Flow Condition to break Loop. Topics on: . Read more: JS, JS Language, Statement, Control Flow, Loop, Terminal Conditi

throw

throw is defined as: JS Keyword Statement to stop executing current function with user-defined Exception. Topics on: . Read more: JS, JS Language, Exception, Ex

Truthy

Truthy is defined as: value considered true (in Boolean Context) via Coercion. Topics on: contrast. Read more: JS, JS Language, Statement, Control Flow, Conditi

try...catch

try...catch. Topics on: . Read more: JS, JS Language, Statement, Control Flow, Conditional Statement|FullStack Wiki by Roger J

with

with is defined as: JS Keyword to extend Scope Chain of Statement . !Forbidden in Strict Mode!. Topics on: syntax, with (param) selects the default object in sc