minor fixes
This commit is contained in:
parent
19bf2d3f5a
commit
3fa4c32e1d
7 changed files with 32 additions and 23 deletions
|
@ -1,6 +1,6 @@
|
|||
# Logical operators: ||, && and !
|
||||
# Logical operators
|
||||
|
||||
There are four logical operators in JavaScript: `||` (OR), `&&` (AND), `!` (NOT), '??' (Nullish Coalescing).
|
||||
There are four logical operators in JavaScript: `||` (OR), `&&` (AND), `!` (NOT), `??` (Nullish Coalescing). Here we cover the first three, the `??` operator is in the next article.
|
||||
|
||||
Although they are called "logical", they can be applied to values of any type, not only boolean. Their result can also be of any type.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue