Understanding JavaScript Logical Operators, Explained JS Logical Operators with Codecademy JS Course

preview_player
Показать описание
In this video we take a look at understanding JavaScript Logical Operators in the Codecademy JavaScript course, section "Conditional Statements". The specific lesson we are on is called "Logical Operators" and it explains the && (and), || (or), and ! (not) logical operators. These allow us to add more sophistication to our conditionals. We can use them within our if statements to see if the statement should evaluate to true or not. With the && operators we check to make sure both statements evaluate to true in order to run the code block. With the || operator, only one of our statements must evaluate to true for the if statement condition to evaluate as true. Then the ! operator will take a true statement and pass back false, or will take a false statement and pass back true. Understanding the power of logical operators, combined with what we have learned about conditional statements, allows us to add a higher level of sophistication to our programming capabilities. Make sure to practice these lessons until they make sense deep in your bones! Understanding conditional logic and logical operators is important when trying to master programming and when trying to master javascript! Make sure to practice javascript conditionals and utilize logical operators daily to stay on point with your javascript programming skills!
Рекомендации по теме
Комментарии
Автор

thank you so much bro you deserver some more audience 💚💚

jatinyadac