Nullish Coalescing

Operators ยท easy

Implement `coalesce(a, b)` returning `a` when it is neither null nor undefined, otherwise `b`.

Loading...

Run your code to see results.