---
title: "Discussion on \"Javascript hoisting\" | Hashnode"
description: "Discussion on \"Javascript hoisting\". Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope before code execution. Let's discuss why..."
url: "https://hashnode.com/posts/javascript-hoisting/62c5bc27c8efe473b8fe4579"
---

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

Discussion

# [Javascript hoisting](https://ankitjoshi.hashnode.dev/javascript-hoisting?utm_source=hashnode&utm_medium=feed)

Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope before code execution. Let's discuss why...

Jun 30, 2022 · 5 min read · ankitjoshi.hashnode.dev  
Read the article

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

## Written by

[Ankit Joshi](https://hashnode.com/@ankitjoshi9015)

@ankitjoshi9015 · India

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

Software developer

Full-Stack Developer with expertise in Angular, React, .NET, Node.js, Azure, and Docker, specializing in scalable applications, microservices, and performance optimization. Experienced in real-time collaboration tools, API development, and data-driven enhancements.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
