Fix pipes in tables.

This commit is contained in:
Stephen Chung
2020-06-21 10:37:17 +08:00
parent 6121aaec9d
commit 00c4052636
3 changed files with 20 additions and 15 deletions

View File

@@ -36,13 +36,13 @@ ts != 42; // true - types cannot be compared
Boolean operators
-----------------
| Operator | Description |
| -------- | ------------------------------------- |
| `!` | Boolean _Not_ |
| `&&` | Boolean _And_ (short-circuits) |
| `||` | Boolean _Or_ (short-circuits) |
| `&` | Boolean _And_ (doesn't short-circuit) |
| `|` | Boolean _Or_ (doesn't short-circuit) |
| Operator | Description |
| ----------------- | ------------------------------------- |
| `!` | Boolean _Not_ |
| `&&` | Boolean _And_ (short-circuits) |
| <code>\|\|</code> | Boolean _Or_ (short-circuits) |
| `&` | Boolean _And_ (doesn't short-circuit) |
| <code>\|</code> | Boolean _Or_ (doesn't short-circuit) |
Double boolean operators `&&` and `||` _short-circuit_, meaning that the second operand will not be evaluated
if the first one already proves the condition wrong.