Q. What does JSON.parse do?

A
Converts string to JSON
B
Parses JSON to object
C
Creates array
D
Defines function
Solution:

JSON.parse parses a JSON string and returns a JavaScript object.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!