1 answer
Best Answer
A named container that stores data in memory.
JavaScript example:
Variables can store:
- Numbers
- Strings (text)
- Booleans (true/false)
- Objects
- Arrays
JavaScript example:
let age = 25;const name = "Alice";Variables can store:
- Numbers
- Strings (text)
- Booleans (true/false)
- Objects
- Arrays