Remove quotes around OR operator

This commit is contained in:
Brent Guffens 2018-01-17 21:16:21 +01:00 committed by GitHub
parent e055c4c845
commit 062388f403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.