Skip to content

Commit 82e4e21

Browse files
authored
1 parent 97ef862 commit 82e4e21

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/11-logical-operators

1 file changed

+1
-1
lines changed

1-js/02-first-steps/11-logical-operators/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Logical operators
22

3-
There are three logical operators in JavaScript: `||` (OR), `&&` (AND), `!` (NOT).
3+
There are four logical operators in JavaScript: `||` (OR), `&&` (AND), `!` (NOT), '??' (Nullish Coalescing).
44

55
Although they are called "logical", they can be applied to values of any type, not only boolean. Their result can also be of any type.
66

0 commit comments

Comments
 (0)