{"ScriptPreparationCode":null,"TestCases":[{"Name":"then","Code":"function one() {\r\n return new Promise((resolve, reject) =\u003E {\r\n return resolve(\u0060hi\u0060);\r\n });\r\n}\r\nfunction khw() {\r\n one().then((message) =\u003E console.log(message)); \r\n}\r\nkhw();","IsDeferred":false},{"Name":"async-await","Code":"function one() {\r\n return new Promise((resolve, reject) =\u003E {\r\n return resolve(\u0060hi\u0060);\r\n });\r\n}\r\nasync function khw() {\r\n console.log(await one());\r\n}\r\nkhw();","IsDeferred":false}]}