Q. What is the purpose of the method JSON.parse()?
β
Correct Answer: (B)
Parses a string to JSON
Explanation: The JSON.parse() method parses a string as JSON, optionally transforming the value produced by parsing.