What is the purpose of the method JSON.parse()?
(a) Parses a string to integer
(b) Parses a string to JSON
(c) Parses a string from JSON to JSON2
(d) Parses integer to string
I have been asked this question in an interview for job.
I'd like to ask this question from Parsing Values using JavaScript in section Parsing, Benchmarking and Logging of JavaScript