---
title: "Discussion on \"8 Ways Variables Are Declared in JavaScript\" | Hashnode"
description: "Discussion on \"8 Ways Variables Are Declared in JavaScript\". It is more common to say that we can declare variables in three ways, using var, let, or const. But there are even more ways to do this :)"
url: "https://hashnode.com/posts/8-ways-variables-are-declared-in-javascript/63387e4b1543f38d28de2e70"
---

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

Discussion

# [8 Ways Variables Are Declared in JavaScript](https://blog.stephcrown.com/8-ways-variables-are-declared-in-javascript?utm_source=hashnode&utm_medium=feed)

It is more common to say that we can declare variables in three ways, using var, let, or const. But there are even more ways to do this :)

Oct 1, 2022 · 10 min read · blog.stephcrown.com  
Updated Oct 3, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#variable-declaration](https://hashnode.com/tag/variable-declaration)
-   [#variables](https://hashnode.com/tag/variables)

## Written by

[Stephen Emmanuel](https://hashnode.com/@stephcrown)

@stephcrown · Lagos, Nigeria

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

Software engineer interested in gaining and sharing knowledge

I'm a software engineer with over 5 years of experience. I love building cool and useful stuff. I'm a problem-solver and enjoy finding clever and simple ways to make things work well for users. I also love sharing with people how I built these cool stuff.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
