minor fixes

This commit is contained in:
Violet Bora Lee 2020-05-06 17:10:28 +09:00
parent 2289134483
commit b782700818
5 changed files with 7 additions and 7 deletions

View file

@ -121,7 +121,7 @@ This leads to some interesting usage compared to a "pure, classical, boolean-onl
Another feature of OR `||` operator is the so-called "short-circuit" evaluation.
It means that `||` processes its arguments until the first truthy value is reached, and then the value is returned immediately, without even touching the other argument.
It means that `||` processes its arguments until the first truthy value is reached, and then the value is returned immediately, without even touching the other argument.
That importance of this feature becomes obvious if an operand isn't just a value, but an expression with a side effect, such as a variable assignment or a function call.