JSON.parse() in JavaScript is used to:
Show answerHide answer
Correct answer: (B) Convert a JSON string into an object
Explanation
JSON.stringify() does the reverse.
Correct answer: (B) Convert a JSON string into an object
Explanation
JSON.stringify() does the reverse.
This is question 176 of DSSSB TGT Computer Science Full Mock Test 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.