---
title: "Discussion on \"Var, Let, and Const (with Hoisting) - When to use what?\" | Hashnode"
description: "Discussion on \"Var, Let, and Const (with Hoisting) - When to use what?\". let var and const, hoisting, not defined and undefined"
url: "https://hashnode.com/posts/var-let-and-const-with-hoisting-when-to-use-what/657717690ef41d57ab3e22d2"
---

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

Discussion

# [Var, Let, and Const (with Hoisting) - When to use what?](https://sauravblog.hashnode.dev/var-let-and-const-with-hoisting-when-to-use-what?utm_source=hashnode&utm_medium=feed)

let var and const, hoisting, not defined and undefined

Dec 11, 2023 · 5 min read · sauravblog.hashnode.dev  
Read the article

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

## Written by

[Saurav Pant](https://hashnode.com/@Saurav-Pant)

@Saurav-Pant · Remote

  
[View profile](https://hashnode.com/@Saurav-Pant)

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
