ExamVeda
Login
Home
This question belongs to Javascript Classes And Modules
Classes and Modules
?

The property of JSON() method is:

Answer & Solution
Correct Answer: Option C
The JSON format is intended for serialization of data structures and can handle JavaScript primitive values, arrays, and plain objects. It does not know about classes, and when serializing an object, it ignores the object’s prototype and constructor. If you call JSON.stringify() on a Range or Complex object, for example, it returns a string like {“from”:1, “to”:3} or {“r”:1, “i”:-1}.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.