---
title: "Discussion on \"Variables in JavaScript\" | Hashnode"
description: "Discussion on \"Variables in JavaScript\". There are 2 way to declare variables in JavaScript:\n\nwith let, var and const keywords.\n\nwithout any keywords.\n\n\nWith let, var and const\nlet and const are the keywords introduced in ES6. whereas var was introduced in ES5.\nvar fName = 'nithin';\nconst a..."
url: "https://hashnode.com/posts/variables-in-javascript/67dbb603708c78229a1df7c7"
---

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

Discussion

# [Variables in JavaScript](https://codewithnithin.hashnode.dev/variables-in-javascript?utm_source=hashnode&utm_medium=feed)

There are 2 way to declare variables in JavaScript: with let, var and const keywords. without any keywords. With let, var and const let and const are the keywords introduced in ES6. whereas var was introduced in ES5. var fName = 'nithin'; const a...

Mar 20, 2025 · 3 min read · codewithnithin.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)

## Written by

[nithin kumar](https://hashnode.com/@codeWithNithin)

@codeWithNithin · karnataka, india

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

Software developer @ Robosoft technologies

Aspiring Full stack developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
