filmov
tv
JavaScript - Lesson Six: Logical Operators
Показать описание
The logical NOT operator (! ), the logical AND operator (&&), and the logical OR operator (||) are among the JavaScript logical operators covered in this video
The logical operators are useful in JavaScript because they allow you to compare variables and act on the results. of that comparison!
If the result of the comparison is true, for example, you execute a block of code; if it is false, you execute another block of code. This example you will see in the following lessons.
As such, we can use these operators to control the flow of our code
----------------------------------------------------------------------
TechZenik Socials 📷
----------------------------------------------------------------------
The logical operators are useful in JavaScript because they allow you to compare variables and act on the results. of that comparison!
If the result of the comparison is true, for example, you execute a block of code; if it is false, you execute another block of code. This example you will see in the following lessons.
As such, we can use these operators to control the flow of our code
----------------------------------------------------------------------
TechZenik Socials 📷
----------------------------------------------------------------------