JavaScript Assignments

Logical AND Assignment

The &&= Operator

If the first value is true, the second value is assigned.