Note: You will usually see
const
andlet
when using variables. However, you will see legacy code that usesvar
to declare variables. DO NOT DO THIS, it is uneccessary in modern JavaScript.
A variable is a container for some value, usually one we want to re-use.
Consider this plain english example:
My name is Clark Kent.