Q25
What are the parameters of the method JSON.parse()?
A.
text
B.
reviver
C.
both text and reviver
AnswerD.
none of the mentioned
Answer: Option C
Solution
Answer: Option C
Solution:
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.