Addition
Syntax
x + y
Explanation
The addition returns the sum of the two operands as a new number.
Examples
1 + 2 // 3
-1 + -1 // -2
-1 + 1 // 0
Last updated
Was this helpful?
x + y
The addition returns the sum of the two operands as a new number.
1 + 2 // 3
-1 + -1 // -2
-1 + 1 // 0
Last updated
Was this helpful?