---
title: "Discussion on \"JavaScript Scopes & Scope Chain\" | Hashnode"
description: "Discussion on \"JavaScript Scopes & Scope Chain\". What is Scope?\nScope in JavaScript refers to the current context of code, which determines the accessibility of variables to JavaScript.\nTypes of Scope in Javascript:\n\nModule Scope\n\nFunction Scope\n\nBlock Scope\n\nLexical Scope\n\nGlobal Scope\n\n\n\nModule S..."
url: "https://hashnode.com/posts/javascript-scopes/639d8d102632eb1f227f0be1"
---

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

Discussion

# [JavaScript Scopes & Scope Chain](https://ekram70.hashnode.dev/javascript-scopes?utm_source=hashnode&utm_medium=feed)

What is Scope? Scope in JavaScript refers to the current context of code, which determines the accessibility of variables to JavaScript. Types of Scope in Javascript: Module Scope Function Scope Block Scope Lexical Scope Global Scope Module S...

Dec 17, 2022 · 2 min read · ekram70.hashnode.dev  
Updated Jul 1, 2023  
Read the article

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

## Written by

[Md. Ekram Ullah Dewan](https://hashnode.com/@ekram70)

@ekram70 · Chattogram, Bangladesh

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

Mern Stack Web Developer

Hi, I'm a mern stack developer based in Chattogram, Bangladesh. I became interested in web development during my college years. I started learning JavaScript after finishing HTML &amp; CSS. The more I learned about JavaScript, the more I fell in love with it. JavaScript has always been my favorite programming language. It eventually led me to become a Mern stack developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
