?
What kind of an exception will be thrown if the string to parse is not valid JSON?
Answer & Solution
Correct Answer:
Option
A
The method JSON.parse()throws a SyntaxError exception if the string to parse is not valid JSON.
Join the Discussion
Login to post a comment or share your explanation.
Login