Skip to content

Glossary: JavaScript Basics

Scope

The part of a program where a variable can be used. A variable declared inside a function or block exists only there.

Where the book teaches it

Related terms

BlockGlobalClosure