Added ternary operator

This commit is contained in:
2023-01-14 21:30:39 +11:00
committed by GitHub
parent 6dfb239106
commit cc9c219588
2 changed files with 2 additions and 2 deletions

View File

@@ -192,7 +192,7 @@ The following mathematical operators are available. A definition is omitted here
Likewise, the following logical operators are available (`&&` is more tightly bound than `||` due to historical reasons):
```
( ) [ ] { } ! != == < > <= >= && ||
( ) [ ] { } ! != == < > <= >= && || ?:
```
Other operators used throughout the language are: the assignment, colon, semicolon, comma, dot and rest operators: