---
title: "Discussion on \"Reasons to drop var in javascript;\" | Hashnode"
description: "Discussion on \"Reasons to drop var in javascript;\". Javascript language has immensely evolved in the last couple of years where a lot of new features were introduced in the last versions beginning with es6. One of these areas that have improved to the better is the declaration of variables and keyword..."
url: "https://hashnode.com/posts/reasons-to-drop-var-in-javascript/6009691aa8e40542d6a728a1"
---

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

Discussion

# [Reasons to drop var in javascript;](https://cyruscodes.hashnode.dev/reasons-to-drop-var-in-javascript?utm_source=hashnode&utm_medium=feed)

Javascript language has immensely evolved in the last couple of years where a lot of new features were introduced in the last versions beginning with es6. One of these areas that have improved to the better is the declaration of variables and keyword...

Jan 21, 2021 · 6 min read · cyruscodes.hashnode.dev  
Updated Feb 1, 2021  
Read the article

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

## Written by

[cyrusCodes](https://hashnode.com/@cyrusCodes)

@cyrusCodes

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

👋 Hello, I'm Cyrus! 🖥️ Web developer ✍️ Tech Blogger 🖱️ UI / UX Designer.

👋 Hello, I'm Cyrus! 🖥️ A web developer, ✍️ Tech Blogger, and 🖱️ UI / UX designer. I have a great passion for good designs, art, and insightful learning materials ranging from books, videos, and blog articles. When not reading I’m developing beautiful, and responsive websites and web apps using javascript and related technologies.

## Responses 1

Markdown supported · ⌘↵ to post

[Bhargav Ponnapalli](https://hashnode.com/@codewithbhargav)

[Jan 21, 2021](https://hashnode.com/posts/reasons-to-drop-var-in-javascript/6009691aa8e40542d6a728a1/comment/60098a57a8e40542d6a73263)

Good one CyrusCodes!

Var is definitely the more problematic way of declaring variables in JS.

[cyrusCodes](https://hashnode.com/@cyrusCodes)

[Jan 21, 2021](https://hashnode.com/posts/reasons-to-drop-var-in-javascript/6009691aa8e40542d6a728a1/comment/60098a57a8e40542d6a73263#reply-6009988573a48b42ffd43632)

Thank you so much for your response. It's highly appreciated.
