---
title: "Discussion on \"JavaScript Variables and Constants\" | Hashnode"
description: "Discussion on \"JavaScript Variables and Constants\". In this JavaScript series article, we will understand what var, let and const are in JavaScript, their differences and where they are used in JavaScript."
url: "https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539"
---

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

Discussion

# [JavaScript Variables and Constants](https://blog.codingminutes.com/javascript-variables-constants?utm_source=hashnode&utm_medium=feed)

In this JavaScript series article, we will understand what var, let and const are in JavaScript, their differences and where they are used in JavaScript.

Sep 28, 2022 · 7 min read · blog.codingminutes.com  
Updated Oct 31, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#developer](https://hashnode.com/tag/developer)
-   [#variables](https://hashnode.com/tag/variables)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Tejaswini Gorripotu](https://hashnode.com/@Teju2704)

@Teju2704 · Hyderabad,In

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

I love writing on web development and enjoy creating websites

I am a front-end web developer. I believe developers who write are very powerful, recently started exploring technical content writing and developed a passion for it.

## Responses 7

Markdown supported · ⌘↵ to post

[Esha Gupta](https://hashnode.com/@gupta19esha)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63343b5dfa20fa4bc8e51a6a)

Amazing & well explained!

[Tejaswini Gorripotu](https://hashnode.com/@Teju2704)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63343b5dfa20fa4bc8e51a6a#reply-63343f24e594fa4ba3b8a792)

Thankyou

[Muhammad Amir](https://hashnode.com/@dfysaas123)

[Sep 29, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63343b5dfa20fa4bc8e51a6a#reply-633598b4e594fa4ba3b8c413)

its performance requirements. Ensuring quality in our delivery paradigm means providing the ideal solution for your business. <a href="[dfysaas.com/software-quality-assurance/">…](https://dfysaas.com/software-quality-assurance/%22%3ESqa) Services<a>

[Sanmatra Chatterjee](https://hashnode.com/@Sanmatra29)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63342926fa20fa4bc8e5183e)

Perfect for beginners.

[Tejaswini Gorripotu](https://hashnode.com/@Teju2704)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63342926fa20fa4bc8e5183e#reply-6334369afa20fa4bc8e519ed)

Thankyou

[Harshavardhan Bajoria](https://hashnode.com/@hvbajoria)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/6334291afa20fa4bc8e51839)

Loved the way it's beautifully explained! 🔥

[Tejaswini Gorripotu](https://hashnode.com/@Teju2704)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/6334291afa20fa4bc8e51839#reply-633436a4fa20fa4bc8e519f1)

Thankyou

[Sai](https://hashnode.com/@sai302)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63342566e594fa4ba3b8a48f)

Loved the Apple analogy, great article!

[Tejaswini Gorripotu](https://hashnode.com/@Teju2704)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63342566e594fa4ba3b8a48f#reply-633428f8fa20fa4bc8e5182b)

Thankyou

[Muhammad Amir](https://hashnode.com/@dfysaas123)

[Sep 29, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63342566e594fa4ba3b8a48f#reply-633598e5fa20fa4bc8e5396c)

Our QA and product testing services help define quality goals. Then, we meticulously examine each of the goals and chart out a process to improve your software quality. Defining the set of steps allow the software its performance requirements. Ensuring quality in our delivery paradigm means providing the ideal solution for your business. [dfysaas.com/software-quality-assurance](https://dfysaas.com/software-quality-assurance/)

[Sharannyo Basu](https://hashnode.com/@sharannyo)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63341b59e594fa4ba3b8a378)

Nicely written [Tejaswini Gorripotu](https://hashnode.com/@Teju2704)!

[Tejaswini Gorripotu](https://hashnode.com/@Teju2704)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63341b59e594fa4ba3b8a378#reply-63342265fa20fa4bc8e5177c)

Thankyou

[Tarun Singh](https://hashnode.com/@tarunsinghofficial)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63341a12e594fa4ba3b8a326)

Well explained article with examples! 👍

[Tejaswini Gorripotu](https://hashnode.com/@Teju2704)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/63341a12e594fa4ba3b8a326#reply-63342270fa20fa4bc8e51784)

Thankyou

[Sarveshwar Shukla](https://hashnode.com/@SarveshwarShukla)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/633416d6fa20fa4bc8e515ed)

Amazing article!

[Tejaswini Gorripotu](https://hashnode.com/@Teju2704)

[Sep 28, 2022](https://hashnode.com/posts/javascript-variables-constants/63341444fa20fa4bc8e51539/comment/633416d6fa20fa4bc8e515ed#reply-6334182fe594fa4ba3b8a2ee)

Thankyou
