Skip to main content

Statement ↔ single line of Code, end with ; semicolon

Line Comment

// JS Syntax to comment for single line

Block Comment

/ JS Syntax to comment for multiple lines /

Control Flow

Execution Sequence Order of Statement(s)

Directive

Statement to direct Compiler/Preprocessor behavior

References

  1. Program ↔ self-contained sequence of Statement to perform task

  2. Control FlowExecution Sequence Order of Statement(s)

  3. continueJS Keyword to end execution of Statement in current Iteration of loop, & continue execution with next iteration in loop

  4. label ↔ to prefix Statement with Identifier to call with break & continue

  5. "use strict"Directive Statement to invoke Strict Mode for either entire script or specific function

  6. withJS Keyword to extend Scope Chain of Statement . !Forbidden in Strict Mode!

  7. throwJS Keyword Statement to stop executing current function with user-defined Exception

  8. CLI ↔ Text-based UI to provide cmd Statements to Terminal

  9. DirectiveStatement to direct Compiler/Preprocessor behavior