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