Frontend
Interviews
.dev
Problems
635. JSON.stringify undefined in Array
Easy
•
...
Predict the output.
console
.
log
(
JSON
.
stringify
(
[
1
,
undefined
,
3
]
)
)
What is the correct output/behavior?
[1,undefined,3]
[1,null,3]
[1,3]
null
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer