Vidyalelo
JavaScript · Q17

Invocation And Performance Navigation

Programming · JavaScript · question 17

Q17

Which of the following does JSON.stringify not serialize?

A.
Undefined values
B.
Functions within an object
C.
Both Undefined values and Functions within an object
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.