InterviewBuddy
All interview questions

What does optional chaining do?

Beginner

Answer

Optional chaining stops property access or a call when the left side is null or undefined, returning undefined instead of throwing.