---
title: "Discussion on \"What is Hoisting in JS??\" | Hashnode"
description: "Discussion on \"What is Hoisting in JS??\". Many of you might have never heard this 'hoisting' term before or heard but don't know what it really is.\nBelieve me guys, it is the most beautiful thing JS has to offer.\nCan you guys guess what will be the output of the below code\n\ngetName()\nconsole..."
url: "https://hashnode.com/posts/what-is-hoisting-in-js/601f939d636acc2a3822f249"
---

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

Discussion

# [What is Hoisting in JS??](https://bulsaraharshil.hashnode.dev/what-is-hoisting-in-js?utm_source=hashnode&utm_medium=feed)

Many of you might have never heard this 'hoisting' term before or heard but don't know what it really is. Believe me guys, it is the most beautiful thing JS has to offer. Can you guys guess what will be the output of the below code getName() console...

Feb 7, 2021 · 6 min read · bulsaraharshil.hashnode.dev  
Read the article

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

## Written by

[Harshil Bulsara](https://hashnode.com/@bulsaraharshil)

@bulsaraharshil

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

Web Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
