ExamVeda
Login
Home
Parsing, Benchmarking and Logging
?

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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.