{"ScriptPreparationCode":null,"TestCases":[{"Name":"Try/catch","Code":"const n = Math.random()\r\ntry {\r\n JSON.parse(\u0027{\u0022name\u0022:\u0022John\u0022, \u0022age\u0022:31, \u0022city\u0022:\u0022New York\u0022}\u0027);\r\n} catch(e) {\r\n console.log(\u0027error\u0027);\r\n}","IsDeferred":false},{"Name":"Without try/catch","Code":"const n = Math.random()\r\nif (n !== 0) {\r\n JSON.parse(\u0027{\u0022name\u0022:\u0022John\u0022, \u0022age\u0022:31, \u0022city\u0022:\u0022New York\u0022}\u0027);\r\n} else {\r\n console.log(\u0027error\u0027)\r\n}\r\n","IsDeferred":false}]}