I was visiting MDN article for Logical Nullish Assignment. The equivalence version provided by MDN was x ?? (x = y) which isn't clear enough and needs digging deeper.
Is this code:
let x = null;
x ??= 12;
equivalent to:
let x = null;
if (x === null || x === undefined) {
x = 12;
}