---
title: "Discussion on \"Understanding JavaScript Scopes & Closures\" | Hashnode"
description: "Discussion on \"Understanding JavaScript Scopes & Closures\". Let's begin by exploring the concept of scopes: what exactly are scopes?\n\nScope is the current context of execution in which values and expressions which are accessible or can be referenced are available for use.\n\nJavaScript has four types of scopes:..."
url: "https://hashnode.com/posts/understanding-javascript-scopes-closures/660e48f215c1adc5f3ef2531"
---

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

Discussion

# [Understanding JavaScript Scopes & Closures](https://muralisingh.hashnode.dev/understanding-javascript-scopes-closures?utm_source=hashnode&utm_medium=feed)

Let's begin by exploring the concept of scopes: what exactly are scopes? Scope is the current context of execution in which values and expressions which are accessible or can be referenced are available for use. JavaScript has four types of scopes:...

Apr 4, 2024 · 7 min read · muralisingh.hashnode.dev  
Updated Apr 20, 2024  
Read the article

-   [#scope-and-closure-in-javascript](https://hashnode.com/tag/scope-and-closure-in-javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#scope-in-js](https://hashnode.com/tag/scope-in-js)
-   [#closures-in-javascript](https://hashnode.com/tag/closures-in-javascript)
-   [#scopes-closures](https://hashnode.com/tag/scopes-closures)
-   [#scopeinjavascript](https://hashnode.com/tag/scopeinjavascript)

## Written by

[Murali Singh](https://hashnode.com/@Murali07)

@Murali07

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

Software Engineer

Remote SWE | JavaScript | OpenSource Engineer | Loves to build scalable systems |

## Responses

Comments are turned off for this post.
