{"ScriptPreparationCode":null,"TestCases":[{"Name":"xhr","Code":"new Promise(resolve =\u003E {\r\n const xhr = new XMLHttpRequest();\r\n xhr.open(\u0027GET\u0027, \u0027https://www.googleapis.com/discovery/v1/apis\u0027);\r\n xhr.onload = () =\u003E resolve(JSON.parse(xhr.responseText));\r\n xhr.send();\r\n}).then(console.log)","IsDeferred":false},{"Name":"fetch","Code":"fetch(\u0027https://www.googleapis.com/discovery/v1/apis\u0027).then(response =\u003E response.json()).then(console.log)","IsDeferred":false}]}