What is the purpose of JSON.parse() in JavaScript?
It converts a JSON string to a JavaScript object.
It converts a JavaScript object to a JSON string.
It validates the syntax of a JSON string.
It extracts a specific value from a JSON object.