---
title: "Discussion on \"Variables and Data Types in JavaScript\" | Hashnode"
description: "Discussion on \"Variables and Data Types in JavaScript\". 1. What Is a Variable?\nThink of a variable as a box.\nYou label the box. You put something inside it. Later, you can open it, check what's inside, or swap the contents.\n[ playerName: \"Steve\" ]\n[ woodCo"
url: "https://hashnode.com/posts/variables-and-data-types-in-javascript/69b5d04034db550e2cec0847"
---

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

Discussion

# [Variables and Data Types in JavaScript](https://javascript-learnings-krrish.hashnode.dev/variables-and-data-types-in-javascript?utm_source=hashnode&utm_medium=feed)

1\. What Is a Variable? Think of a variable as a box. You label the box. You put something inside it. Later, you can open it, check what's inside, or swap the contents. \[ playerName: "Steve" \] \[ woodCo

Mar 14 · 4 min read · javascript-learnings-krrish.hashnode.dev  
Read the article

## Written by

[Krrishvardhan vyas](https://hashnode.com/@krrishvardhanvyas)

@krrishvardhanvyas

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

i write code

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
