Like when you're reading code out loud, how do you pronounce ??
Videos
To my knowledge, there is no such operator and also no proposal to add one. Instead you can rely on the standard way to check for nullish values: b == null
a = b == null ? b : func(b)
This will not answer the question since it was already answered by @str, I'm just posting this here because I don't have enough rep to comment on @Dalou's answer and don't want people to trip on that answer.
a = (b ?? false) && other
Is not the opposite of ??, since a will take the value of b if b is a falsy value other than undefined/null, like '' or 0 for example.
The opposite of ?? should set a to the value of other even if b is '' or 0.
Is the nullish coalescing operator (??) named such because:
a) it coalesces all the "nullish" values (null and undefined) within its behavior?
or...
b) it, like the logical-OR (||) that inspired it, can be thought to "coalesce" the two operands?
for reference, here's the definition of "coalesce":
come together to form one mass or whole.