{"ScriptPreparationCode":null,"TestCases":[{"Name":"forEach concat","Code":"var a = [{nested: [ \u0022hello\u0022, true, 7 ]}, {nested: [ 1, 2 ]}];\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":"var a = [{nested: [ \u0022hello\u0022, true, 7 ]}, {nested: [ 1, 2 ]}];\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":"var a = [{nested: [ \u0022hello\u0022, true, 7 ]}, {nested: [ 1, 2 ]}];\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":"var a = [{nested: [ \u0022hello\u0022, true, 7 ]}, {nested: [ 1, 2 ]}];\r\n\r\nlet b = [];\r\n\r\na.forEach((item) =\u003E {\r\n b.push(...item.nested);\r\n});","IsDeferred":false}]}