All the things we can do with Javascript optional chaining
A common problem when working with objects in Javascript is making sure nested properties are valid and available, not undefined or null. This usually occurs when reading a JSON response from a REST endpoint.
For example:
{
_id: Object.ID(''),
...
ilango.hashnode.dev3 min read