Optional Chaining in JavaScript
Introduction
It is possible to read the value of a property deep into a chain of related objects by using the optional chaining operator (?.), which eliminates the need to explicitly verify the validity of each reference in the chain.
In the case of ...
swetaagarwalla.hashnode.dev3 min read