Optional chaining allows you to chain methods or properties, and conditionally continue down the chain if the value is not null or undefined.

posted on