Web features explorer

Logical assignments

Widely available since 2023-03-16
Tags: javascript Groups: JavaScript

The logical AND assignment (&&=) and the logical OR assignment (||=) operators short-circuit the respective binary logical operators.

Learning resources on MDN

Browser support

Specifications