---
title: "Discussion on \"Getting Started with Modern JavaScript — Variables and Scope\" | Hashnode"
description: "Discussion on \"Getting Started with Modern JavaScript — Variables and Scope\". In this article, we introduce variables and scope in JavaScript.\nVariables\nA variable is a named container with a unique name for storing data values. The statement below declares a variable with the name “car”:\nlet car;\n\nconsole.log(car); // undefin..."
url: "https://hashnode.com/posts/javascript-variables-and-scope/5f6b41fbff06f53c8bd63425"
---

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

Discussion

# [Getting Started with Modern JavaScript — Variables and Scope](https://blog.michaelkaren.dev/javascript-variables-and-scope?utm_source=hashnode&utm_medium=feed)

In this article, we introduce variables and scope in JavaScript. Variables A variable is a named container with a unique name for storing data values. The statement below declares a variable with the name “car”: let car; console.log(car); // undefin...

Aug 25, 2020 · 4 min read · blog.michaelkaren.dev  
Updated Aug 22, 2021  
Read the article

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

## Written by

[Michael Karén](https://hashnode.com/@melcor76)

@melcor76 · Oslo, Norway

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

Frontend Architect • JavaScript Enthusiast • Blogger

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
