let foo = null as any ; let bar = "bar" ; let a = foo ?? bar ; console . log ( a ) ; foo = "" as any ; let b = foo ?? bar ; console . log ( b ) ; let c = foo || bar ; console . log ( c ) ; let d = foo == null ? foo : bar ; console . log ( d ) ; export { } ;