Merge pull request #1746 from u-n-known/patch-2

Incorrect precedence numbers (prob. "language-wide")
This commit is contained in:
Ilya Kantor 2020-02-12 12:38:14 +00:00 committed by GitHub
commit cb8c12c5c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,10 +138,10 @@ Here's an extract from the [precedence table](https://developer.mozilla.org/en/J
| Precedence | Name | Sign | | Precedence | Name | Sign |
|------------|------|------| |------------|------|------|
| ... | ... | ... | | ... | ... | ... |
| 16 | unary plus | `+` | | 17 | unary plus | `+` |
| 16 | unary negation | `-` | | 17 | unary negation | `-` |
| 14 | multiplication | `*` | | 15 | multiplication | `*` |
| 14 | division | `/` | | 15 | division | `/` |
| 13 | addition | `+` | | 13 | addition | `+` |
| 13 | subtraction | `-` | | 13 | subtraction | `-` |
| ... | ... | ... | | ... | ... | ... |