Frontend
Interviews
.dev
Problems
632. Optional Chaining Method Call
Easy
•
...
Predict the output.
const
obj
=
null
console
.
log
(
obj
?.
getName
?.
(
)
)
What is the correct output/behavior?
null
undefined
TypeError
""
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer