Monday, 23 November, 2020 UTC


Summary

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.