&& (AND)

Let hour = 12;
let minute = 30;

if (hour == 12 && minute == 30) {
  alert( 'Time is 12:30' );
}
Given multiple AND'ed values:

result = value1 && value2 && value3;

In classical programming returns true if both operands are truthy and false otherwise.

Syntax

Result = a && b;
Alert( true && true ); // true alert( false && true ); // false alert( true && false ); // false alert( false && false ); // false.

&& (AND) — Structure map

Clickable & Draggable!

&& (AND) — Related pages: