In imperative programming, the state is modified in place by instructions, instead of new versions of values being constructed. A typical example of imperative programming is loops.
LIGO features mutable variables, that is, variables whose values can be reassigned --- contrary to constants, which can be only assigned once.
The declaration of mutable variables start with the keyword
const for constants. All assignments use the
operator, like so: