JavaScript Refactoring Gotchas: 5 Ways Converting to Optional Chaining Can Break Your Code
The optional chaining operator .? returns the value of an object property when the object is available and undefined otherwise. It is similar to the standard . chaining operator, with an added check if the object is defined (i.e., not nullish).
The o...
p42.hashnode.dev3 min read