{"ScriptPreparationCode":null,"TestCases":[{"Name":"Try/catch","Code":"const getPerson = async () =\u003E {\r\n try {\r\n const response = await fetch(\u0022https://swapi.dev/api/people/1/\u0022, \u0022GET\u0022)\r\n console.log({ response })\r\n } catch (e) {\r\n console.error(e);\r\n }\r\n}\r\n\r\ngetPerson()","IsDeferred":false},{"Name":".catch","Code":"\r\nfetch(\u0022https://swapi.dev/api/people/1/\u0022, \u0022GET\u0022).then((response) =\u003E { console.log({ response }) }).catch((e) =\u003E console.error(e))","IsDeferred":false}]}