Lesson

Learn Javascript, Logical Operators, codecademy, Javascript Tutorial

Lesson Summary

In this codeacademy tutorial we go over logical operators in javascript. Javascript logical operators help us make even more complex decisions in our code. Logical operators are || (or) , &&(and), and !(not). With the or operator we only need one condition to be true to execute the block of code, in an and statement, both conditions must be true, and the not will return the opposite result of the condition.

Share: