JavaScript Логическое назначение
//"Or Or Equals"
x ||= y;
x || (y = z);
// "And And Equals"
x &&= y;
x && (y = z);
// "QQ Equals"
x ??= y;
x ?? (y = z);
//"Or Or Equals"
x ||= y;
x || (y = z);
// "And And Equals"
x &&= y;
x && (y = z);
// "QQ Equals"
x ??= y;
x ?? (y = z);