---
title: "Comment by Arpit Shrivastava on \"What is Hoisting in JavaScript? A Comprehensive Guide\" | Hashnode"
description: "Wow, Alisha! Your take on the Temporal Dead Zone (TDZ) and how it affects let and const is amazing! It really clears up why we get ReferenceErrors when accessin"
url: "https://hashnode.com/posts/what-is-hoisting-in-javascript-a-comprehensive-guide/666d7952713365c8ce6ba9ba/comment/666d7c6539c76cc94133203f"
---

[Discussion](https://hashnode.com/posts/what-is-hoisting-in-javascript-a-comprehensive-guide/666d7952713365c8ce6ba9ba)

Comment [What is Hoisting in JavaScript? A Comprehensive Guide](https://hashnode.com/posts/what-is-hoisting-in-javascript-a-comprehensive-guide/666d7952713365c8ce6ba9ba)

[Arpit Shrivastava](https://hashnode.com/@rptshri09)

[Jun 15, 2024](https://hashnode.com/posts/what-is-hoisting-in-javascript-a-comprehensive-guide/666d7952713365c8ce6ba9ba/comment/666d7c6539c76cc94133203f)

Wow, Alisha! Your take on the Temporal Dead Zone (TDZ) and how it affects `let` and `const` is amazing!

It really clears up why we get ReferenceErrors when accessing these variables before declaration.

Great job simplifying things—keep it up!

[Alisha Bhale](https://hashnode.com/@alishabhale)

[Jun 22, 2024](https://hashnode.com/posts/what-is-hoisting-in-javascript-a-comprehensive-guide/666d7952713365c8ce6ba9ba/comment/666d7c6539c76cc94133203f#reply-6676d915cb43c65479450816)

Thanks [Arpit Shrivastava](https://hashnode.com/@rptshri09)
