Concepts/Scope

Concept

Scope

The rules that determine where variables and other identifiers can be accessed.

About

Understand the idea.

Scope defines the visibility and lifetime of names in a program. Understanding scope helps explain how functions, blocks, modules, and closures interact.

Learn

Build the foundation.

  1. 01Global scope
  2. 02Function scope
  3. 03Block scope
  4. 04Lexical scope
  5. 05Nested scope
  6. 06Closures
  7. 07Modules

Practice

Turn knowledge into ability.

Challenges connected to Scope will live here.

Explore challenges →

Build

Use it on something real.

Projects connected to Scope will live here.

Explore projects →

Prove

Demonstrate what you can do.

Completion tasks for Scope will live here.

Connected

Follow the relationships.

JavaScriptTypeScriptFunctions