---
title: "Discussion on \"Hoisting and  TDZ?\" | Hashnode"
description: "Discussion on \"Hoisting and  TDZ?\". In JavaScript, Hoisting is a special case which allow you to use variable and function before initialization . this hoisting feature is only present javascript. \nconsole.log( fruits );\nvar fruits = \" Mango \"\nIn the upper case console.log() give undef..."
url: "https://hashnode.com/posts/hoisting-and-tdz/627ee54855afbae29a623883"
---

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

Discussion

# [Hoisting and TDZ?](https://rockypage.hashnode.dev/hoisting-and-tdz?utm_source=hashnode&utm_medium=feed)

In JavaScript, Hoisting is a special case which allow you to use variable and function before initialization . this hoisting feature is only present javascript. console.log( fruits ); var fruits = " Mango " In the upper case console.log() give undef...

May 13, 2022 · 2 min read · rockypage.hashnode.dev  
Read the article

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

## Written by

[Rocky](https://hashnode.com/@rockyraven)

@rockyraven

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
