An ordinary arithmetic operation involves two numbers, which can be literals:
Example
let x = 100 + 50; |
or variables:
Example
let x = a + b; |
or expressions:
Example
let x = (100 + 50) * a; |
In an arithmetic operation, the two numbers involved are referred to as operands, with the specific operation to be performed between them determined by an operator.
Operand |
Operator |
Operand |
100 |
+ |
50 |