---
title: "Discussion on \"Understanding Hoisting in JavaScript: How Variables and Functions are Hoisted\" | Hashnode"
description: "Discussion on \"Understanding Hoisting in JavaScript: How Variables and Functions are Hoisted\". With the help of the hoisting technique, variables and function declarations in JavaScript can be used before they are even declared. The word \"hoisting\" refers to the idea that during compilation, these declarations are raised to the top of their re..."
url: "https://hashnode.com/posts/understanding-hoisting-in-javascript-how-variables-and-functions-are-hoisted/6415f55485f5160ef8674ee0"
---

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

Discussion

# [Understanding Hoisting in JavaScript: How Variables and Functions are Hoisted](https://srafsan.hashnode.dev/understanding-hoisting-in-javascript-how-variables-and-functions-are-hoisted?utm_source=hashnode&utm_medium=feed)

With the help of the hoisting technique, variables and function declarations in JavaScript can be used before they are even declared. The word "hoisting" refers to the idea that during compilation, these declarations are raised to the top of their re...

Mar 18, 2023 · 5 min read · srafsan.hashnode.dev  
Read the article

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

## Written by

[Syed Rafsan Raiyan](https://hashnode.com/@srafsan)

@srafsan · Bangladesh

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

I am a Backend Developer. I am passionate about web development and have interest in many backend technologies. Besides that, I like competitive programming and participated in various contests.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
