---
title: "Discussion on \"Scope in Javascript\" | Hashnode"
description: "Discussion on \"Scope in Javascript\". Javascript scope for variables. Lexical scope, function scope, block scope, global scope. Variables accessibility"
url: "https://hashnode.com/posts/scope-in-javascript/660c0a0149f811926bbef092"
---

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

Discussion

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

Javascript scope for variables. Lexical scope, function scope, block scope, global scope. Variables accessibility

Apr 2, 2024 · 2 min read · meghanask.hashnode.dev  
Read the article

-   [#variable-accessibility](https://hashnode.com/tag/variable-accessibility)
-   [#scope](https://hashnode.com/tag/scope)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#variables](https://hashnode.com/tag/variables)
-   [#variable-scope](https://hashnode.com/tag/variable-scope)
-   [#lexical-scope](https://hashnode.com/tag/lexical-scope)
-   [#block-scope](https://hashnode.com/tag/block-scope)
-   [#scope-function](https://hashnode.com/tag/scope-function)

## Written by

[Meghana S K](https://hashnode.com/@meghanask)

@meghanask

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

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
