commit
71988e17b0
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ So the code `a && b || c && d` is essentially the same as if the `&&` expression
|
|||
````
|
||||
|
||||
````warn header="Don't replace `if` with || or &&"
|
||||
Sometimes, people use the AND `&&` operator as a "shorter to write `if`".
|
||||
Sometimes, people use the AND `&&` operator as a "shorter way to write `if`".
|
||||
|
||||
For instance:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue