Optional Chaining (JavaScript)

Optional chaining (?.) safely reads deeply nested properties. If a value in the chain is null or undefined, it returns undefined instead of throwing an error.