{"ScriptPreparationCode":"async function doAjax1() \r\n\t\t{\r\n\t\t\ttry \r\n\t\t\t{\r\n\t\t\t\tconst res = await fetch(\u0027https://www.googleapis.com/discovery/v1/apis\u0027);\r\n\t\t\t\tconst data = await res.json();\r\n\t\t\t\tconsole.log(data);\r\n\t\t\t} \r\n\t\t\tcatch (error) \r\n\t\t\t{\r\n\t\t\t\tconsole.log(\u0027Error:\u0027 \u002B error);\r\n\t\t\t}\r\n\t\t}","TestCases":[{"Name":"xhr","Code":"const xhr = new XMLHttpRequest();\r\nxhr.open(\u0027GET\u0027, \u0027https://www.googleapis.com/discovery/v1/apis\u0027);\r\nxhr.onload = () =\u003E console.log(JSON.parse(xhr.responseText));\r\nxhr.send();","IsDeferred":false},{"Name":"fetch","Code":"doAjax1();","IsDeferred":false}]}