Skip to content

Commit 697bbf8

Browse files
authored
Update article.md
Since there are mentioned other things explained in less detail (as Bitwise operators), could be useful to have this explained here.
1 parent 8f27052 commit 697bbf8

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)