You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/07-operators/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Before we move on, let's grasp some common terminology.
26
26
alert( y - x ); // 2, binary minus subtracts values
27
27
```
28
28
29
-
Formally, we're talking about two different operators here: the unary negation (single operand: reverses the sign) and the binary subtraction (two operands: subtracts).
29
+
Formally, in the examples above we have two different operators that share the same symbol: the negation operator, a unary operator that reverses the sign, and the subtraction operator, a binary operator that subtracts one number from another.
0 commit comments