---
title: "Discussion on \"BLOCK SCOPE & Shadowing in JS 🔥\" | Hashnode"
description: "Discussion on \"BLOCK SCOPE & Shadowing in JS 🔥\". In this blog, we are going to learn about BLOCK SCOPE and SHADOWINGin javascript but before even going into this topic let's first understandwhat is BLOCK in javascript?\nBLOCKIn javascript, blocks are defined by these { } curly braces and it is usedt..."
url: "https://hashnode.com/posts/block-scope-shadowing-in-js/6401b7bc61dc6daed85289c1"
---

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

Discussion

# [BLOCK SCOPE & Shadowing in JS 🔥](https://dailylearn.hashnode.dev/block-scope-shadowing-in-js?utm_source=hashnode&utm_medium=feed)

In this blog, we are going to learn about BLOCK SCOPE and SHADOWINGin javascript but before even going into this topic let's first understandwhat is BLOCK in javascript? BLOCKIn javascript, blocks are defined by these { } curly braces and it is usedt...

Mar 3, 2023 · 6 min read · dailylearn.hashnode.dev  
Updated Mar 7, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#block-scope](https://hashnode.com/tag/block-scope)
-   [#shadowing](https://hashnode.com/tag/shadowing)
-   [#block-in-js](https://hashnode.com/tag/block-in-js)

## Written by

[haresh lakhwani](https://hashnode.com/@Haresh9958)

@Haresh9958 · Ahemdabad India

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

Sr Software Engineer at GlobalLogic.

Experienced developer with a background in native Android development and cross-platform development with React Native. Strong collaborator with a focus on attention to detail and staying up-to-date with the latest technologies. Currently expanding knowledge in data structures and system design. Capable of delivering high-quality applications utilizing React and React Native.

## Responses 2

Markdown supported · ⌘↵ to post

[Jayesh R](https://hashnode.com/@jayesh205)

[Mar 4, 2023](https://hashnode.com/posts/block-scope-shadowing-in-js/6401b7bc61dc6daed85289c1/comment/640346d96cc7b7a22094c3b0)

Good one

[rina yadav](https://hashnode.com/@yadav194)

[Mar 4, 2023](https://hashnode.com/posts/block-scope-shadowing-in-js/6401b7bc61dc6daed85289c1/comment/6402f19b6cc7b7a22094b5bc)

Nice one
