diff --git a/1-js/02-first-steps/11-logical-operators/article.md b/1-js/02-first-steps/11-logical-operators/article.md index 79cfbacd..03c30c91 100644 --- a/1-js/02-first-steps/11-logical-operators/article.md +++ b/1-js/02-first-steps/11-logical-operators/article.md @@ -128,8 +128,8 @@ This leads to some interesting usage compared to a "pure, classical, boolean-onl In the example below, the first message is printed, while the second is not: ```js run no-beautify - *!*true*/!* || alert("printed"); - *!*false*/!* || alert("not printed"); + *!*true*/!* || alert("not printed"); + *!*false*/!* || alert("printed"); ``` In the first line, the OR `||` operator stops the evaluation immediately upon seeing `true`, so the `alert` isn't run.