Concept Flow - Optional chaining with types
Start with object
Check if property exists?
No→Return undefined
Yes
Access property value
If next property, repeat check
Return final value or undefined
Optional chaining checks each property step-by-step. If any property is missing, it returns undefined instead of error.