---
title: "Discussion on \"Hoisting and Temporal Dead Zone(TDZ) in javascript\" | Hashnode"
description: "Discussion on \"Hoisting and Temporal Dead Zone(TDZ) in javascript\". Hello readers, If you have switched from some programming language to javascript then you have noticed some strange behavior in javascript like accessing variables and functions before initialization. In this blog, we will learn about these things Ho..."
url: "https://hashnode.com/posts/hoisting-and-temporal-dead-zonetdz-in-javascript/627aabdaf543e7a92b803e78"
---

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

Discussion

# [Hoisting and Temporal Dead Zone(TDZ) in javascript](https://adarshpatel.hashnode.dev/hoisting-and-temporal-dead-zonetdz-in-javascript?utm_source=hashnode&utm_medium=feed)

Hello readers, If you have switched from some programming language to javascript then you have noticed some strange behavior in javascript like accessing variables and functions before initialization. In this blog, we will learn about these things Ho...

May 10, 2022 · 3 min read · adarshpatel.hashnode.dev  
Updated May 12, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#hoisting](https://hashnode.com/tag/hoisting)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Adarsh Patel](https://hashnode.com/@Adarsh96)

@Adarsh96

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

Front-End Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
