---
title: "Discussion on \"Temporal Dead Zone\" | Hashnode"
description: "Discussion on \"Temporal Dead Zone\". let and const\nthese variables were introduced in ES6 as the old var is getting old... Now.. these let and const were block scoped variables unlike var which is global scoped.\n      var scope = 'global';\n      var ifTrue = true;\n      if (ifTrue) {\n  ..."
url: "https://hashnode.com/posts/temporal-dead-zone/633d29f7adebb1f2ec64e40e"
---

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

Discussion

# [Temporal Dead Zone](https://vijayashree.hashnode.dev/temporal-dead-zone?utm_source=hashnode&utm_medium=feed)

let and const these variables were introduced in ES6 as the old var is getting old... Now.. these let and const were block scoped variables unlike var which is global scoped. var scope = 'global'; var ifTrue = true; if (ifTrue) { ...

Oct 5, 2022 · 3 min read · vijayashree.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tdz](https://hashnode.com/tag/tdz)

## Written by

[Vijaya Shree](https://hashnode.com/@vijayashree)

@vijayashree

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

Frontend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
