Frontend
Interviews
.dev
Problems
690. delete with Optional Chaining
Easy
•
...
Predict the output.
const
obj
=
null
console
.
log
(
delete
obj
?.
x
)
What is printed in the console?
true
false
TypeError
undefined
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer