Frontend
Interviews
.dev
Problems
634. JSON.stringify undefined in Object
Easy
•
...
Predict the output.
console
.
log
(
JSON
.
stringify
(
{
a
:
1
,
b
:
undefined
}
)
)
What is the correct output/behavior?
{"a":1,"b":null}
{"a":1}
{"a":1,"b":undefined}
null
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer