Discussion :: Javascript - CS
-
Identify the process done in the below code snippet
o = {x:1, y:{z:[false,null,""]}};
s = JSON.stringify(o);
p = JSON.parse(s);
Answer : Option B
Explanation :
Object serialization is the process of converting an object’s state to a string from which it can later be restored.
Be The First To Comment