Logical Operators

What are Logical Operators?

  • Evaluates between two conditions/expressions and returns true or false

  • with && (and) operators, both conditions have to be true in order for the whole expression to be true

  • with ||(or) operators, either condition must be true for entire expression to be true

inline

JS Bin on jsbin.com