Q. What kind of work is being performed in the following given part of JavaScript's code?

Code:
<script>  
  
o = {x:1, y:{z:[false,null,""]}};   
s = JSON.stringify(o);   
p = JSON.parse(s);  
</script>  
  • (A) Object Encapsulation
  • (B) Object Encoding
  • (C) Object Abstraction
  • (D) Object Serialization
πŸ’¬ Discuss
βœ… Correct Answer: (D) Object Serialization

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
210
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Akshay Kulkarni
Publisher
πŸ“ˆ
81%
Success Rate