{"ScriptPreparationCode":"function emptyTimeout(ms) {\r\n return new Promise((resolve, reject) =\u003E\r\n setTimeout(() =\u003E resolve(), ms));\r\n}\r\n\r\nasync function asyncFor() {\r\n for (let i = 50; i \u003C 500; i \u002B= 50) {\r\n await emptyTimeout(i);\r\n }\r\n}\r\n\r\nasync function asyncPromiseAll() {\r\n const promises = [];\r\n for (let i = 50; i \u003C 500; i \u002B= 50) {\r\n promises.push(emptyTimeout(i));\r\n }\r\n await Promise.all(promises);\r\n}","TestCases":[{"Name":"asyncFor","Code":"asyncFor()","IsDeferred":false},{"Name":"asyncPromiseAll","Code":"asyncPromiseAll()","IsDeferred":false}]}