JavaScript's &&= Operator: Understanding Logical AND Assignment

from blog Trevor I. Lasn Thoughts, | ↗ original
Use the &&= operator to safely update truthy values while preserving falsy states