{"ScriptPreparationCode":null,"TestCases":[{"Name":"forEach concat","Code":"const a = [...Array(1000)].map(() =\u003E ({\r\n nested: Array.from({length: 40}, () =\u003E Math.floor(Math.random() * 40))\r\n}));\r\n\r\nlet b = [];\r\n\r\na.forEach((item) =\u003E {\r\n b = b.concat(item.nested);\r\n});","IsDeferred":false},{"Name":"Reduce push","Code":"const a = [...Array(1000)].map(() =\u003E ({\r\n nested: Array.from({length: 40}, () =\u003E Math.floor(Math.random() * 40))\r\n}));\r\n\r\nconst b = a.reduce((acc, item) =\u003E {\r\n acc.push(...item.nested);\r\n \r\n return acc\r\n}, []);","IsDeferred":false},{"Name":"Reduce concat","Code":"const a = [...Array(1000)].map(() =\u003E ({\r\n nested: Array.from({length: 40}, () =\u003E Math.floor(Math.random() * 40))\r\n}));\r\n\r\nconst b = a.reduce((acc, item) =\u003E {\r\n acc.concat(item.nested);\r\n \r\n return acc\r\n}, []);","IsDeferred":false},{"Name":"forEach push","Code":"const a = [...Array(1000)].map(() =\u003E ({\r\n nested: Array.from({length: 40}, () =\u003E Math.floor(Math.random() * 40))\r\n}));\r\n\r\nlet b = [];\r\n\r\na.forEach((item) =\u003E {\r\n b.push(...item.nested);\r\n});","IsDeferred":false}]}