---
title: "Discussion on \"What is Hoisting in JavaScript ?\" | Hashnode"
description: "Discussion on \"What is Hoisting in JavaScript ?\". Introduction\nHoisting is one of the most important concepts in JavaScript. Let's look at an example before we move forward:\nfunction sum (a,b) {\n  return a+b;\n}\n\nconsole.log(sum(5,10));\nIt is quite clear that the output of the above console log will ..."
url: "https://hashnode.com/posts/what-is-hoisting-in-javascript/62d963a3e3738c59b0b7848c"
---

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

Discussion

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

Introduction Hoisting is one of the most important concepts in JavaScript. Let's look at an example before we move forward: function sum (a,b) { return a+b; } console.log(sum(5,10)); It is quite clear that the output of the above console log will ...

Jul 21, 2022 · 4 min read · nakulsharma.hashnode.dev  
Read the article

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

## Written by

[Nakul Sharma](https://hashnode.com/@nakulsharma)

@nakulsharma · Delhi, India

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

Web Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
