Remove quotes around unary negation operator

This commit is contained in:
Brent Guffens 2018-01-17 11:24:53 +01:00 committed by GitHub
parent fb5c7b6fa7
commit 60ea5f6bc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ In this chapter we concentrate on aspects that are not covered by school arithme
Before we move on, let's grasp the common terminology. Before we move on, let's grasp the common terminology.
- *An operand* -- is what operators are applied to. For instance in multiplication `5 * 2` there are two operands: the left operand is `5`, and the right operand is `2`. Sometimes people say "arguments" instead of "operands". - *An operand* -- is what operators are applied to. For instance in multiplication `5 * 2` there are two operands: the left operand is `5`, and the right operand is `2`. Sometimes people say "arguments" instead of "operands".
- An operator is *unary* if it has a single operand. For example, the unary negation `"-"` reverses the sign of the number: - An operator is *unary* if it has a single operand. For example, the unary negation `-` reverses the sign of the number:
```js run ```js run
let x = 1; let x = 1;