---
title: "Discussion on \"Hoisting in JavaScript\" | Hashnode"
description: "Discussion on \"Hoisting in JavaScript\". In JavaScript, Hoisting is the default behavior where variables and function declarations are moved to the top of their scope before code execution.\n\nHoisting is a JavaScript mechanism where variables and function declarations are moved to the top of..."
url: "https://hashnode.com/posts/hoisting-in-javascript/60c3aa2ba25fa357af8401e0"
---

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

Discussion

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

In JavaScript, Hoisting is the default behavior where variables and function declarations are moved to the top of their scope before code execution. Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of...

Jun 11, 2021 · 2 min read · grayhat.hashnode.dev  
Read the article

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

## Written by

[Mbaabu H Mwenda](https://hashnode.com/@Mbaabu)

@Mbaabu · Africa

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

Harun Mbaabu Mwenda

AM Harun Mbaabu Mwenda, A software Engineer, Data Scientist and Developer Advocate.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
