Remove quotes around OR operator
This commit is contained in:
parent
e055c4c845
commit
062388f403
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ Given multiple OR'ed values:
|
||||||
result = value1 || value2 || value3;
|
result = value1 || value2 || value3;
|
||||||
```
|
```
|
||||||
|
|
||||||
The OR `"||"` operator does the following:
|
The OR `||` operator does the following:
|
||||||
|
|
||||||
- Evaluate operands from left to right.
|
- Evaluate operands from left to right.
|
||||||
- For each operand, convert it to boolean. If the result is `true`, then stop and return the original value of that operand.
|
- For each operand, convert it to boolean. If the result is `true`, then stop and return the original value of that operand.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue