---
title: "Discussion on \"Understanding Scope in Javascript\" | Hashnode"
description: "Discussion on \"Understanding Scope in Javascript\". This article will cover basic concept like Scope in Javascript. Scope defines the visibility of a variable, these variables are not visible outside the scope in which they are declared.\nJavascript has global scope, function scope and block scope.\nGlo..."
url: "https://hashnode.com/posts/understanding-scope-in-javascript/638de71025fd7dd8c4cc4346"
---

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

Discussion

# [Understanding Scope in Javascript](https://mohdziaulhaq.hashnode.dev/understanding-scope-in-javascript?utm_source=hashnode&utm_medium=feed)

This article will cover basic concept like Scope in Javascript. Scope defines the visibility of a variable, these variables are not visible outside the scope in which they are declared. Javascript has global scope, function scope and block scope. Glo...

Dec 5, 2022 · 2 min read · mohdziaulhaq.hashnode.dev  
Read the article

-   [#scope](https://hashnode.com/tag/scope)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#iwritecode](https://hashnode.com/tag/iwritecode)
-   [#learncodeonline](https://hashnode.com/tag/learncodeonline)
-   [#ineuron](https://hashnode.com/tag/ineuron)

## Written by

[Mohd Zia Ul Haq](https://hashnode.com/@mohdziaulhaq)

@mohdziaulhaq · Hyderabad, India.

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

Software Engineer

Full Stack Javascript Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
