# Lexical Environment

An internal record connecting names in one scope to values and an outer environment.

## What is **Lexical Environment** in JavaScript?

**Lexical Environment** — An internal record connecting names in one scope to values and an outer environment.

Level: Master · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/master)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/lexical-environment
