This commit is contained in:
Ilya Kantor 2020-05-17 23:45:42 +03:00
parent 9353a04156
commit b18ae204b1

View file

@ -134,7 +134,7 @@ This leads to some interesting usage compared to a "pure, classical, boolean-onl
In the first line, the OR `||` operator stops the evaluation immediately upon seeing `true`, so the `alert` isn't run. In the first line, the OR `||` operator stops the evaluation immediately upon seeing `true`, so the `alert` isn't run.
Sometimes, people use this feature to execute commands only if the condition on the left part is truthy. Sometimes, people use this feature to execute commands only if the condition on the left part is falsy.
## && (AND) ## && (AND)