When calling a function that may return null, we can use the Null Coalescing operator (??) to provide a default value.

(click on the image to open in a new tab)
We can even use a function’s return value as the default value.

(click on the image to open in a new tab)
In case the left function is nullish, we can have the other one’s returned value as the default.
