Examveda
Examveda

What are the parameters of the method JSON.parse()?

A. text

B. reviver

C. both text and reviver

D. none of the mentioned

Answer: Option C

Solution(By Examveda Team)

The parameters of the method JSON.parse() are :
1. text : The string to parse as JSON. 2. reviver : If a function, prescribes how the value originally produced by parsing is transformed, before being returned.

This Question Belongs to Javascript >> Parsing, Benchmarking And Logging

Join The Discussion

Related Questions on Parsing, Benchmarking and Logging