What does JSON.stringify() do with a function property in an object?
- A Serialises it as a string of code
- B Omits it from the output
- C Throws an error
- D Converts it to null
Answer
Omits it from the output
Functions and undefined values are dropped from objects. In arrays, undefined and functions become null instead.





