A variable is simply a name to which a value can be assigned.
Variables allow us to give meaningful names to data.
The simplest way to assign a value to a variable is through the = operator.
svg viewer
A big advantage of variables is that they allow us to store data so that we can use it later to perform operations in the code.
Variables are mutable. Hence, the value of a variable can always be updated or replaced.