---
title: "Discussion on \"Scope in JavaScript and How the Lexical Environment Works\" | Hashnode"
description: "Discussion on \"Scope in JavaScript and How the Lexical Environment Works\". A Brief Guide to Scope and Lexical Environment in Javascript"
url: "https://hashnode.com/posts/scope-in-javascript-and-how-the-lexical-environment-works/62519f2c92d73e7055c18356"
---

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

Discussion

# [Scope in JavaScript and How the Lexical Environment Works](https://blog.shahmirfaisal.com/scope-in-javascript-and-how-the-lexical-environment-works?utm_source=hashnode&utm_medium=feed)

A Brief Guide to Scope and Lexical Environment in Javascript

Apr 9, 2022 · 4 min read · blog.shahmirfaisal.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Shahmir Faisal](https://hashnode.com/@shahmir)

@shahmir · Islamabad, Pakistan

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

Web developer with a love for web technologies. Building things with JavaScript including reactjs, nextjs, node, and express.

Developer with a love for web technologies. Building things with react, next and node.

## Responses 1

Markdown supported · ⌘↵ to post

No responses yet.
