The line of code we just used to create a variable (let <variableName> = <something>) is called an assignment statement, because it assigns a value to a variable.
In an assignment statement, the right-hand side doesn't have to be a simple value like a number or some text. It can be an expression as well, such as a numeric calculation.
When the right-hand side is an expression, the computer first evaluates the expression down to a simple value, and then stores that value in the variable.
Run the code sample in this exercise to see how this works.
Output (Console)