Access Long Chains of Properties with JavaScript Optional Chaining
lessonDuration 42sFree
Accessing a long chain of properties can be risky since one or more properties could be undefined or null. To be safe, we can use optional chaining when accessing long chain of properties.