What kind of an exception will be thrown if the string to parse is not valid JSON?
(a) SyntaxError
(b) ArrayOutOfBoundException
(c) Both SyntaxError and ArrayOutOfBoundException
(d) Compilation error
I got this question in exam.
My question comes from Parsing Values using JavaScript topic in division Parsing, Benchmarking and Logging of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)