mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
Fix typo
This commit is contained in:
parent
fc3555119e
commit
aef0d74065
@ -74,7 +74,7 @@ Operator | Name | Syntax | Associativity | Example
|
||||
`and` | Logical and | `x and y` | Left to right | `true and false` | `false`
|
||||
`not` | Logical not | `not y` | Right to left | `not true` | `false`
|
||||
`or` | Logical or | `x or y` | Left to right | `true or false` | `true`
|
||||
`xor` | Logical xor | `x xor y` | Left to right | `true or true` | `false`
|
||||
`xor` | Logical xor | `x xor y` | Left to right | `true xor true` | `false`
|
||||
`=` | Assignment | `x = y` | Right to left | `a = 5` | `5`
|
||||
`?` `:` | Conditional expression | `x ? y : z` | Right to left | `15 > 100 ? 1 : -1` | `-1`
|
||||
`:` | Range | `x : y` | Right to left | `1:4` | `[1,2,3,4]`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user