Vidyalelo
JavaScript · Q12

Invocation And Performance Navigation

Programming · JavaScript · question 12

Q12

Which of the following does not serialize the undefined values or objects within an object?

A.
JSON.string
B.
JSON
C.
JSON.stringify
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
JSON.stringify does not serialize undefined values or functions within an object.