- | NN 2 IE 3 ECMA 1 |
The subtraction operator subtracts the number to the right of the operator from the number on the left. Both operands must be numbers. An expression with this operator evaluates to a number. |
|
Example | |
var myDifference = number1 - number2; |