Q. Which of the following methods converts JSON data to a JavaScript object?
β
Correct Answer: (A)
JSON.parse()
Explanation: JSON.parse() is used to parse JSON strings and convert them into JavaScript objects.