Declarations
Declarations let you assign a value to a variable:{var name} = {expression}
This makes the variable have the same value as the evaluated expression on the right.
It allows for reassignment later on (mutable variable):
Definitions
Definitions act exactly the same as declarations, but once the variable is assigned the value, the variable becomes immutable and it cannot be changed. The syntax is:{var name} == {expression}