{"ScriptPreparationCode":"async function asyncFor(){\r\n for (const x of [1, 2, 3]) {\r\n await new Promise(resolve =\u003E resolve(x \u003E 0));\r\n }\r\n}\r\n\r\nasync function asyncPromiseAll() {\r\n await Promise.all([1, 2, 3].map(x =\u003E\r\n new Promise(resolve =\u003E resolve(x \u003E 0))\r\n ));\r\n}\r\n\r\nasync function asyncPromiseAllSettled() {\r\n await Promise.allSettled([1, 2, 3].map(x =\u003E\r\n new Promise(resolve =\u003E resolve(x \u003E 0))\r\n ));\r\n}\r\n\r\n","TestCases":[{"Name":"asyncFor","Code":"asyncFor()","IsDeferred":false},{"Name":"asyncPromiseAll","Code":"asyncPromiseAll()","IsDeferred":false},{"Name":"promiseAllSettled","Code":"asyncPromiseAllSettled()","IsDeferred":false}]}