---
title: "Discussion on \"Understanding Hoisting: A Deep Dive into JavaScript\" | Hashnode"
description: "Discussion on \"Understanding Hoisting: A Deep Dive into JavaScript\". What is Hoisting?\nHoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their  1  scope before code execution.  2  However, this doesn't mean the values are also moved; only the declarations are hoisted.\n..."
url: "https://hashnode.com/posts/understanding-hoisting-a-deep-dive-into-javascript/66bcfcd926e027f5df23d8e9"
---

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

Discussion

# [Understanding Hoisting: A Deep Dive into JavaScript](https://aparna-u.hashnode.dev/understanding-hoisting-a-deep-dive-into-javascript?utm_source=hashnode&utm_medium=feed)

What is Hoisting? Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their 1 scope before code execution. 2 However, this doesn't mean the values are also moved; only the declarations are hoisted. ...

Aug 14, 2024 · 2 min read · aparna-u.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#javascript-hoisting](https://hashnode.com/tag/javascript-hoisting)
-   [#javascript-interview-question](https://hashnode.com/tag/javascript-interview-question)
-   [#javascript-concept](https://hashnode.com/tag/javascript-concept)

## Written by

[Aparna Udayakumar](https://hashnode.com/@Aparna-u)

@Aparna-u · Bangalore

  
[View profile](https://hashnode.com/@Aparna-u)

MERN Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
