---
title: "Discussion on \"Hoisting in Simple Words\" | Hashnode"
description: "Discussion on \"Hoisting in Simple Words\". In simple terms, hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase, before the code is actually executed.\nThis means that you can use a variable or c..."
url: "https://hashnode.com/posts/hoisting-in-simple-words/65f436b97e25f280e371eeb5"
---

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

Discussion

# [Hoisting in Simple Words](https://ajaysharma.hashnode.dev/hoisting-in-simple-words?utm_source=hashnode&utm_medium=feed)

In simple terms, hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase, before the code is actually executed. This means that you can use a variable or c...

Mar 15, 2024 · 3 min read · ajaysharma.hashnode.dev  
Updated Mar 18, 2024  
Read the article

-   [#hoisitng](https://hashnode.com/tag/hoisitng)
-   [#javascript-hoisting](https://hashnode.com/tag/javascript-hoisting)
-   [#function-hoisting](https://hashnode.com/tag/function-hoisting)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Ajay Sharma](https://hashnode.com/@selfskyway)

@selfskyway

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

small task wins

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
