/

HTML / CSS / JavaScript Tutorial

JavaScript Operator: logical AND

[this page | pdf | back links]

In JavaScript, the && operator is the logical (i.e. Boolean) AND operator:

 

x

y

x AND y

true

true

true

true

false

false

false

true

false

false

false

false

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Operators


Desktop view | Switch to Mobile