Optional Chaining in JavaScript
Optional chaining is a handy feature introduced in ES2020 that allows you to safely access nested properties on an object without having to check if each reference in the chain is valid. This helps avoid pesky errors like cannot to read property 'x' ...