---
title: "Discussion on \"Complete Detail about Scope, and Lexical Environment , Scope Chaining  with Code Snippets\" | Hashnode"
description: "Discussion on \"Complete Detail about Scope, and Lexical Environment , Scope Chaining  with Code Snippets\". Scope:\nScope means accessing a particular variable and a function in our code. In other words, scope determines the accessibility and visibility of a variable/function.\nTypes Of Scopes:\nGlobal Scope:\nVariables declared outside the function are called..."
url: "https://hashnode.com/posts/complete-detail-about-scope-and-lexical-environment-scope-chaining-with-code-snippets/644d46f9e4d210d9572f5400"
---

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

Discussion

# [Complete Detail about Scope, and Lexical Environment , Scope Chaining with Code Snippets](https://deepaknayak.hashnode.dev/complete-detail-about-scope-and-lexical-environment-scope-chaining-with-code-snippets?utm_source=hashnode&utm_medium=feed)

Scope: Scope means accessing a particular variable and a function in our code. In other words, scope determines the accessibility and visibility of a variable/function. Types Of Scopes: Global Scope: Variables declared outside the function are called...

Apr 29, 2023 · 6 min read · deepaknayak.hashnode.dev  
Updated May 27, 2023  
Read the article

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

## Written by

[Deepak Nayak](https://hashnode.com/@DeepakNayak)

@DeepakNayak · Odisha, Bhubneswar

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

Hello, This is Deepak Kumar Nayak completed my B-Tech In Mechanical Engineering. i wanted to be a Fullstack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
