@@ -76,11 +76,11 @@ Given multiple OR'ed values:
7676result = value1 || value2 || value3;
7777```
7878
79- The OR ` "||" ` operator does the following:
79+ The OR ` || ` operator does the following:
8080
8181- Evaluate operands from left to right.
8282- For each operand, convert it to boolean. If the result is ` true ` , then stop and return the original value of that operand.
83- - If all other operands have been assessed (i.e. all were ` falsy ` ), return the last operand.
83+ - If all other operands have been assessed (i.e. all were ` false ` ), return the last operand.
8484
8585A value is returned in its original form, without the conversion.
8686
@@ -194,7 +194,7 @@ Given multiple AND'ed values:
194194result = value1 && value2 && value3;
195195```
196196
197- The AND `"&&" ` operator does the following:
197+ The AND `&& ` operator does the following:
198198
199199- Evaluate operands from left to right.
200200- For each operand, convert it to a boolean. If the result is `false`, stop and return the original value of that operand.
@@ -268,7 +268,7 @@ So it is recommended to use every construct for its purpose. Use `if` if we want
268268
269269## ! (NOT)
270270
271- The boolean NOT operator is represented with an exclamation sign `"!" `.
271+ The boolean NOT operator is represented with an exclamation sign `! `.
272272
273273The syntax is pretty simple:
274274
0 commit comments