---
title: "Discussion on \"why 'const' is considered better than 'let' and 'var'\" | Hashnode"
description: "Discussion on \"why 'const' is considered better than 'let' and 'var'\". \"const vs let \" declaration in JavaScript"
url: "https://hashnode.com/posts/why-const-is-considered-better-than-let-and-var/6446c5aaa0ebe4540f91fa02"
---

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

Discussion

# [why 'const' is considered better than 'let' and 'var'](https://surajdev.hashnode.dev/why-const-is-considered-better-than-let-and-var?utm_source=hashnode&utm_medium=feed)

"const vs let " declaration in JavaScript

Apr 24, 2023 · 1 min read · surajdev.hashnode.dev  
Updated Apr 25, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#variable-declaration](https://hashnode.com/tag/variable-declaration)
-   [#var-let-const](https://hashnode.com/tag/var-let-const)
-   [#let-and-const](https://hashnode.com/tag/let-and-const)

## Written by

[Suraj Singh](https://hashnode.com/@surajdev)

@surajdev · INDIA

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

Frontend Developer | MERN Stack

Passionate front-end developer and tech enthusiast with a love for all things web development. Constantly learning and exploring the latest trends and technologies in the industry. On a mission to share knowledge and inspire others to pursue their passion for coding. Follow me for insights, tutorials, and personal experiences on my journey as a developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
