The nullish coalescing operator should consider undeclared variables and should return the right-hand operand instead of throwing an error.
This operator works as I say when a property of an object is not defined.
console.log(baz.firstProp ?? 'does not exist')
Many languages ​​do this and it would greatly facilitate the syntax of this type of cases that can be very typical.