Skip to content

Commit 1bd8f97

Browse files
authored
Merge pull request #731 from maurodibert/patch-10
Update article.md
2 parents 4eac4ef + 697bbf8 commit 1bd8f97

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/16-javascript-specials

1 file changed

+1
-1
lines changed

1-js/02-first-steps/16-javascript-specials/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Ternary
149149
: The only operator with three parameters: `cond ? resultA : resultB`. If `cond` is truthy, returns `resultA`, otherwise `resultB`.
150150

151151
Logical operators
152-
: Logical AND `&&` and OR `||` perform short-circuit evaluation and then return the value where it stopped.
152+
: Logical AND `&&` and OR `||` perform short-circuit evaluation and then return the value where it stopped. Logical NOT `!` converts the operand to boolean type and returns the inverse value.
153153

154154
Comparisons
155155
: Equality check `==` for values of different types converts them to a number (except `null` and `undefined` that equal each other and nothing else), so these are equal:

0 commit comments

Comments
 (0)