24. MEDIUM | Optional Chaining Operator in JavaScript
Optional Chaining Operator (?.)
It allows you to safely access object properties, array items or call methods on an object that might be null or undefined.
If the property accessed or method called
javascript-topicwise-notes.hashnode.dev2 min read