---
title: "Discussion on \"Hoisting in JavaScript [must know concept]\" | Hashnode"
description: "Discussion on \"Hoisting in JavaScript [must know concept]\". Did you know that JavaScript allocates memory to all variables and functions first, even before executing the code?\nYes, that's true. And this results in a phenomenon called \"hoisting\" in JavaScript.\nHoisting allows us to use variables and functions ..."
url: "https://hashnode.com/posts/hoisting-in-javascript-must-know-concept/61fbde30fd8b083e57288c16"
---

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

Discussion

# [Hoisting in JavaScript \[must know concept\]](https://syedmazhar.hashnode.dev/hoisting-in-javascript-must-know-concept?utm_source=hashnode&utm_medium=feed)

Did you know that JavaScript allocates memory to all variables and functions first, even before executing the code? Yes, that's true. And this results in a phenomenon called "hoisting" in JavaScript. Hoisting allows us to use variables and functions ...

Feb 3, 2022 · 2 min read · syedmazhar.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#html5](https://hashnode.com/tag/html5)

## Written by

[Syed Mazhar Ali Raza](https://hashnode.com/@SyedMazhar)

@SyedMazhar · New Delhi, India

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

Rising junior from India and deeply passionate about Computer Science and technologies.

I am a 20-year-old engineering sophomore pursuing BTech in Electronics and Communications. I am a frontend web developer well versed in HTML, CSS, JavaScript and React, and stand at a beginner-intermediate level at backend development. I keep a vision to become a full-stack developer (tech stack: MERN).

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
