---
title: "Discussion on \"Scopes and Hoisting in JavaScript\" | Hashnode"
description: "Discussion on \"Scopes and Hoisting in JavaScript\". Hoisting is a behavior of JavaScript that moves the declaration of variable and function to the top of their respective scope.\nAs we know, let and const are block-scoped and variable is function-scope"
url: "https://hashnode.com/posts/scopes-and-hoisting-in-javascript/69d33dbb40c9cabf449f8808"
---

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

Discussion

# [Scopes and Hoisting in JavaScript](https://blog.bipinbhatt.com.np/scopes-and-hoisting-in-javascript?utm_source=hashnode&utm_medium=feed)

Hoisting is a behavior of JavaScript that moves the declaration of variable and function to the top of their respective scope. As we know, let and const are block-scoped and variable is function-scope

Apr 6 · 3 min read · blog.bipinbhatt.com.np  
Read the article

## Written by

[Bipin Bhatt](https://hashnode.com/@bipinbhatt)

@bipinbhatt · Stamford, CT

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

BSc CSIT Graduate

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
