Sandbox example - https://codesandbox.io/s/optional-cha...
Can I Use information - https://caniuse.com/mdn-javascript_op...
Read more on optional chaining at - https://developer.mozilla.org/en-US/d...
In this video, I show you how to make use of "Optional Chaining" a new operator available to modern JavaScript applications.
Optional chaining allows us to reference keys if the parent value is defined, as well as reference methods on values when available (e.g. .toUpperCase).