---
title: "Discussion on \"Lexical Scope\" | Hashnode"
description: "Discussion on \"Lexical Scope\". Lexical scope, also known as static scope, is a concept in JavaScript (and many other programming languages) that describes how the scope of variables is determined at the time of lexing or parsing, which is before the code is executed. Lexical scope..."
url: "https://hashnode.com/posts/lexical-scope/658a74911bd898e600155036"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Lexical Scope](https://piyushagrawal.hashnode.dev/lexical-scope?utm_source=hashnode&utm_medium=feed)

Lexical scope, also known as static scope, is a concept in JavaScript (and many other programming languages) that describes how the scope of variables is determined at the time of lexing or parsing, which is before the code is executed. Lexical scope...

Dec 26, 2023 · 1 min read · piyushagrawal.hashnode.dev  
Read the article

-   [#scopeinjavascript](https://hashnode.com/tag/scopeinjavascript)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Piyush Agrawal](https://hashnode.com/@piyushagrawal94857)

@piyushagrawal94857

  
[View profile](https://hashnode.com/@piyushagrawal94857)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
