{"ScriptPreparationCode":"const quantity = 1000;\r\n\r\nconst array = Array(quantity)\r\n .fill({\r\n teste: true\r\n })\r\n .map((value, index) =\u003E ({\r\n id: index \u002B 1,\r\n ...value\r\n }));\r\n\r\nasync function all() {\r\n return Promise.all(\r\n array.map(async (ar) =\u003E {\r\n const value = ar.index * Math.ceil(Math.random, quantity);\r\n return {\r\n ...ar,\r\n value\r\n };\r\n })\r\n );\r\n};\r\n\r\nasync function each() {\r\n return array.map((ar) =\u003E {\r\n const value = ar.index * Math.ceil(Math.random, quantity);\r\n return {\r\n ...ar,\r\n value\r\n };\r\n });\r\n};","TestCases":[{"Name":"all","Code":"all()","IsDeferred":false},{"Name":"each","Code":"each()","IsDeferred":false}]}