Mustafa Kemal Tuna 2021-02-01 11:11:35 +03:00 committed by GitHub
parent 97ef86242f
commit 82e4e212f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# Logical operators # Logical operators
There are three logical operators in JavaScript: `||` (OR), `&&` (AND), `!` (NOT). There are four logical operators in JavaScript: `||` (OR), `&&` (AND), `!` (NOT), '??' (Nullish Coalescing).
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. 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.