Working with Optional Chaining and Nullish Coalescing

Avoid runtime errors in JS with optional chaining and nullish coalescing. Learn how to use them right and avoid pitfalls