---
title: "Discussion on \"Scope in JS\" | Hashnode"
description: "Discussion on \"Scope in JS\". Understand JavaScript scope types: global, function, and block scopes, and how variable resolution works with scope chaining in JS"
url: "https://hashnode.com/posts/scope-in-js/6954c359c9315b9aee0b1aee"
---

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

Discussion

# [Scope in JS](https://js-fundamentals.hashnode.dev/scope-in-js?utm_source=hashnode&utm_medium=feed)

Understand JavaScript scope types: global, function, and block scopes, and how variable resolution works with scope chaining in JS

Dec 31, 2025 · 3 min read · js-fundamentals.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#basics-of-javascript](https://hashnode.com/tag/basics-of-javascript)
-   [#scope-chain](https://hashnode.com/tag/scope-chain)
-   [#scope-is-javascript](https://hashnode.com/tag/scope-is-javascript)

## Written by

[Nisarga Dey](https://hashnode.com/@Nisarga717)

@Nisarga717

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

Learning by building. Writing to understand.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
