---
title: "Discussion on \"Introduction to Hoisting in JavaScript\" | Hashnode"
description: "Discussion on \"Introduction to Hoisting in JavaScript\". The JavaScript engine or interpreter when reading the script takes the variable declaration and function declaration to the top in memory, Initialisations are not hoisted.\n👩‍💻 Coding Time\nExample - 1\nconsole.log(a)\n\n// var is hoisted means we can a..."
url: "https://hashnode.com/posts/introduction-to-hoisting-in-javascript/65490f76c822876f3a274762"
---

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

Discussion

# [Introduction to Hoisting in JavaScript](https://vishal21121.hashnode.dev/introduction-to-hoisting-in-javascript?utm_source=hashnode&utm_medium=feed)

The JavaScript engine or interpreter when reading the script takes the variable declaration and function declaration to the top in memory, Initialisations are not hoisted. 👩‍💻 Coding Time Example - 1 console.log(a) // var is hoisted means we can a...

Nov 6, 2023 · 2 min read · vishal21121.hashnode.dev  
Read the article

-   [#hoisting](https://hashnode.com/tag/hoisting)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#javascript-hoisting](https://hashnode.com/tag/javascript-hoisting)
-   [#coderscommunity](https://hashnode.com/tag/coderscommunity)
-   [#introduction-to-hoisting](https://hashnode.com/tag/introduction-to-hoisting)

## Written by

[vishal singh](https://hashnode.com/@vishal21121)

@vishal21121 · India

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

My name is Vishal Singh, and I am currently pursuing my B.Tech degree from Future Institute of Engineering and Management. I am also a web developer with experience in HTML, CSS, JS, Node js, Express js MongoDB and others. I am passionate about creating high-quality and user-friendly websites that provide value to their users.

## Responses 1

Markdown supported · ⌘↵ to post

[Sohini Bhattacharjee](https://hashnode.com/@SohiniB)

[Nov 14, 2023](https://hashnode.com/posts/introduction-to-hoisting-in-javascript/65490f76c822876f3a274762/comment/655302210701ac13578c7230)

The concept of Hoisting is a hot topic for interviews. Well, for let and const there is a concept of the Temporal dead zone! Their hoisting is different and that's why many don't consider it as hoisting.
